summaryrefslogtreecommitdiff
path: root/compiler/compiler.h
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2019-06-06 16:20:54 +0100
committerNicolas Geoffray <ngeoffray@google.com>2019-06-10 07:32:49 +0000
commit7f7539b8ed0a31de1d1b6e1f0b730d55e37666a6 (patch)
treed1611f06e3e468ff61c4d4bc349777b85b3a2e16 /compiler/compiler.h
parent93adcb53c77f4f04dfebd30b94e8ea9936aa8abb (diff)
Pass the memory region to allocate into to the compiler / allocation.
Test: test.py Bug: 119800099 Change-Id: Ie3cba5abe3dd4f8756af5ecfd6c26320de314fe8
Diffstat (limited to 'compiler/compiler.h')
-rw-r--r--compiler/compiler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/compiler.h b/compiler/compiler.h
index a496c6ced5..e363e707dd 100644
--- a/compiler/compiler.h
+++ b/compiler/compiler.h
@@ -29,6 +29,7 @@ struct CodeItem;
namespace jit {
class JitCodeCache;
class JitLogger;
+class JitMemoryRegion;
} // namespace jit
namespace mirror {
class ClassLoader;
@@ -41,7 +42,6 @@ class CompiledMethodStorage;
class CompilerOptions;
class DexFile;
template<class T> class Handle;
-class OatWriter;
class Thread;
class Compiler {
@@ -73,6 +73,7 @@ class Compiler {
virtual bool JitCompile(Thread* self ATTRIBUTE_UNUSED,
jit::JitCodeCache* code_cache ATTRIBUTE_UNUSED,
+ jit::JitMemoryRegion* region ATTRIBUTE_UNUSED,
ArtMethod* method ATTRIBUTE_UNUSED,
bool baseline ATTRIBUTE_UNUSED,
bool osr ATTRIBUTE_UNUSED,