Revert^2 "Pass `ArenaAllocator` to JNI compiler."
This reverts commit aa5a644f17aab27dee172642a276bd24e69a5b54.
Reason for revert: The original CL was wrongly blamed for
unrelated breakage. The LUCI row contains 6 red cells but
one is a known flake and the other 5 are mis-attributed and
clicking through to the manifests reveals the real culprit
to be https://android-review.googlesource.com/2049787 .
Change-Id: Ie34d9652d3cbe882a73f9eece0d30dfd9a3d15a6
Test: Rely on TreeHugger.
Bug: 181943478
diff --git a/compiler/jni/quick/jni_compiler.h b/compiler/jni/quick/jni_compiler.h
index 313fcd3..52a6f3c 100644
--- a/compiler/jni/quick/jni_compiler.h
+++ b/compiler/jni/quick/jni_compiler.h
@@ -24,6 +24,7 @@
namespace art {
+class ArenaAllocator;
class ArtMethod;
class CompilerOptions;
class DexFile;
@@ -65,7 +66,8 @@
JniCompiledMethod ArtQuickJniCompileMethod(const CompilerOptions& compiler_options,
uint32_t access_flags,
uint32_t method_idx,
- const DexFile& dex_file);
+ const DexFile& dex_file,
+ ArenaAllocator* allocator);
} // namespace art