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/dex/quick_compiler_callbacks.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/dex/quick_compiler_callbacks.h') diff --git a/compiler/dex/quick_compiler_callbacks.h b/compiler/dex/quick_compiler_callbacks.h index 56706e3e35..d692d26229 100644 --- a/compiler/dex/quick_compiler_callbacks.h +++ b/compiler/dex/quick_compiler_callbacks.h @@ -28,8 +28,8 @@ class QuickCompilerCallbacks FINAL : public CompilerCallbacks { public: QuickCompilerCallbacks(VerificationResults* verification_results, DexFileToMethodInlinerMap* method_inliner_map, - bool boot_image) - : CompilerCallbacks(boot_image), verification_results_(verification_results), + CompilerCallbacks::CallbackMode mode) + : CompilerCallbacks(mode), verification_results_(verification_results), method_inliner_map_(method_inliner_map) { CHECK(verification_results != nullptr); CHECK(method_inliner_map != nullptr); -- cgit v1.2.3-59-g8ed1b