summaryrefslogtreecommitdiffstats
path: root/compiler/jit/jit_compiler.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-03-27 23:45:15 -0700
committerAndreas Gampe <agampe@google.com>2015-03-27 23:46:09 -0700
commit4585f876eb5dfb936bd0d6cb6acd78a1f2182ba6 (patch)
treee9dfed086f56245e74862caa813c708bc4f500f9 /compiler/jit/jit_compiler.cc
parente2c29f4a2717923f190c944a06e02f7d8c3ddcb6 (diff)
downloadart-4585f876eb5dfb936bd0d6cb6acd78a1f2182ba6.tar.gz
art-4585f876eb5dfb936bd0d6cb6acd78a1f2182ba6.tar.bz2
art-4585f876eb5dfb936bd0d6cb6acd78a1f2182ba6.zip
ART: Some runtime cleanup
Use an enum for the compiler-callback mode. Refactor and remove some unnecessary includes in runtime.h. Change-Id: If2245fa470171311b8e05b677cf6bb28f209585a
Diffstat (limited to 'compiler/jit/jit_compiler.cc')
-rw-r--r--compiler/jit/jit_compiler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/jit/jit_compiler.cc b/compiler/jit/jit_compiler.cc
index d034736f95..df5d5cca3b 100644
--- a/compiler/jit/jit_compiler.cc
+++ b/compiler/jit/jit_compiler.cc
@@ -90,7 +90,7 @@ JitCompiler::JitCompiler() : total_time_(0) {
method_inliner_map_.reset(new DexFileToMethodInlinerMap);
callbacks_.reset(new QuickCompilerCallbacks(verification_results_.get(),
method_inliner_map_.get(),
- false));
+ CompilerCallbacks::CallbackMode::kCompileApp));
compiler_driver_.reset(new CompilerDriver(
compiler_options_.get(), verification_results_.get(), method_inliner_map_.get(),
Compiler::kQuick, instruction_set, instruction_set_features_.get(), false,