From 2afaff7e9171992b0e2e95d0f485782d28e1b9dc Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Fri, 30 Nov 2018 17:01:50 +0000 Subject: Refactor CompilerDriver::CompileAll(). Treat verification results and image classes as mutable only in CompilerDriver::PreCompile(), and treat them as immutable during compilation, accessed through the CompilerOptions. This severs the dependency of the inliner on the CompilerDriver. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: I594a0213ca6a5003c19b4bd488af98db4358d51d --- compiler/jit/jit_compiler.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'compiler/jit/jit_compiler.cc') diff --git a/compiler/jit/jit_compiler.cc b/compiler/jit/jit_compiler.cc index 0eab8356e7..b9fd868f1c 100644 --- a/compiler/jit/jit_compiler.cc +++ b/compiler/jit/jit_compiler.cc @@ -167,9 +167,7 @@ JitCompiler::JitCompiler() { compiler_driver_.reset(new CompilerDriver( compiler_options_.get(), - /* verification_results */ nullptr, Compiler::kOptimizing, - /* image_classes */ nullptr, /* thread_count */ 1, /* swap_fd */ -1)); // Disable dedupe so we can remove compiled methods. -- cgit v1.2.3-59-g8ed1b