From 4585f876eb5dfb936bd0d6cb6acd78a1f2182ba6 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Fri, 27 Mar 2015 23:45:15 -0700 Subject: ART: Some runtime cleanup Use an enum for the compiler-callback mode. Refactor and remove some unnecessary includes in runtime.h. Change-Id: If2245fa470171311b8e05b677cf6bb28f209585a --- compiler/common_compiler_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/common_compiler_test.cc') diff --git a/compiler/common_compiler_test.cc b/compiler/common_compiler_test.cc index d506cc21e9..257406a622 100644 --- a/compiler/common_compiler_test.cc +++ b/compiler/common_compiler_test.cc @@ -179,7 +179,7 @@ void CommonCompilerTest::SetUpRuntimeOptions(RuntimeOptions* options) { method_inliner_map_.reset(new DexFileToMethodInlinerMap); callbacks_.reset(new QuickCompilerCallbacks(verification_results_.get(), method_inliner_map_.get(), - false)); + CompilerCallbacks::CallbackMode::kCompileApp)); options->push_back(std::make_pair("compilercallbacks", callbacks_.get())); } -- cgit v1.2.3