summaryrefslogtreecommitdiff
path: root/compiler/jit/jit_compiler.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2019-06-06 16:20:54 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2019-06-10 07:32:49 +0000
commit7f7539b8ed0a31de1d1b6e1f0b730d55e37666a6 (patch)
treed1611f06e3e468ff61c4d4bc349777b85b3a2e16 /compiler/jit/jit_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/jit/jit_compiler.h')
-rw-r--r--compiler/jit/jit_compiler.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/jit/jit_compiler.h b/compiler/jit/jit_compiler.h
index d008de404a..06315a5f8d 100644
--- a/compiler/jit/jit_compiler.h
+++ b/compiler/jit/jit_compiler.h
@@ -22,7 +22,6 @@
namespace art {
class ArtMethod;
-class CompiledMethod;
class Compiler;
class CompilerOptions;
class Thread;
@@ -30,6 +29,7 @@ class Thread;
namespace jit {
class JitLogger;
+class JitMemoryRegion;
class JitCompiler {
public:
@@ -37,7 +37,8 @@ class JitCompiler {
virtual ~JitCompiler();
// Compilation entrypoint. Returns whether the compilation succeeded.
- bool CompileMethod(Thread* self, ArtMethod* method, bool baseline, bool osr)
+ bool CompileMethod(
+ Thread* self, JitMemoryRegion* region, ArtMethod* method, bool baseline, bool osr)
REQUIRES_SHARED(Locks::mutator_lock_);
const CompilerOptions& GetCompilerOptions() const {