From: Wojciech Staszkiewicz Date: Fri, 5 Aug 2016 21:34:29 +0000 (-0700) Subject: Remove kRestrictCompilationFiltersToImage X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=d190d1ff1933cdb6b07c48179f4933ae720b9bc2;p=android-x86%2Fart.git Remove kRestrictCompilationFiltersToImage Removed compiler driver kRestrictCompilationFiltersToImage flag, impact is in the noise. Change-Id: I50be7a201f677fa0cb6db38d9b5f039754e1f98c --- diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index 828603398..d0a8335a9 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -77,10 +77,6 @@ namespace art { static constexpr bool kTimeCompileMethod = !kIsDebugBuild; -// Whether classes-to-compile and methods-to-compile are only applied to the boot image, or, when -// given, too all compilations. -static constexpr bool kRestrictCompilationFiltersToImage = true; - // Print additional info during profile guided compilation. static constexpr bool kDebugProfileGuidedCompilation = false; @@ -946,10 +942,6 @@ bool CompilerDriver::IsImageClass(const char* descriptor) const { } bool CompilerDriver::IsClassToCompile(const char* descriptor) const { - if (kRestrictCompilationFiltersToImage && !IsBootImage()) { - return true; - } - if (classes_to_compile_ == nullptr) { return true; } @@ -957,10 +949,6 @@ bool CompilerDriver::IsClassToCompile(const char* descriptor) const { } bool CompilerDriver::IsMethodToCompile(const MethodReference& method_ref) const { - if (kRestrictCompilationFiltersToImage && !IsBootImage()) { - return true; - } - if (methods_to_compile_ == nullptr) { return true; }