From 7f7539b8ed0a31de1d1b6e1f0b730d55e37666a6 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Thu, 6 Jun 2019 16:20:54 +0100 Subject: Pass the memory region to allocate into to the compiler / allocation. Test: test.py Bug: 119800099 Change-Id: Ie3cba5abe3dd4f8756af5ecfd6c26320de314fe8 --- compiler/compiler.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compiler/compiler.h') 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 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, -- cgit v1.2.3-59-g8ed1b