diff options
author | 2018-11-19 13:47:08 +0000 | |
---|---|---|
committer | 2018-11-19 13:47:08 +0000 | |
commit | c754cc8e1c2dbcb1331ec2bed3ea0787bdd2b5c3 (patch) | |
tree | bfb50d986ad25030ecfde9b3a4e1ffd8983e30f6 /compiler/optimizing/optimizing_compiler.cc | |
parent | 498d7c1752d02f6687c2b19a077ad1942d1d6348 (diff) | |
parent | 33f7c8aa87831945c567f57c8b860f216c4371ae (diff) |
Merge "Remove CompiledMethod dependency on CompilerDriver."
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
-rw-r--r-- | compiler/optimizing/optimizing_compiler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc index fe6abd4999..1db20fcfeb 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc @@ -765,7 +765,7 @@ CompiledMethod* OptimizingCompiler::Emit(ArenaAllocator* allocator, ScopedArenaVector<uint8_t> stack_map = codegen->BuildStackMaps(code_item_for_osr_check); CompiledMethod* compiled_method = CompiledMethod::SwapAllocCompiledMethod( - GetCompilerDriver(), + GetCompilerDriver()->GetCompiledMethodStorage(), codegen->GetInstructionSet(), code_allocator->GetMemory(), ArrayRef<const uint8_t>(stack_map), @@ -1222,7 +1222,7 @@ CompiledMethod* OptimizingCompiler::JniCompile(uint32_t access_flags, ScopedArenaVector<uint8_t> stack_map = CreateJniStackMap(&stack_map_allocator, jni_compiled_method); return CompiledMethod::SwapAllocCompiledMethod( - GetCompilerDriver(), + GetCompilerDriver()->GetCompiledMethodStorage(), jni_compiled_method.GetInstructionSet(), jni_compiled_method.GetCode(), ArrayRef<const uint8_t>(stack_map), |