diff options
| -rw-r--r-- | compiler/driver/compiler_driver.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index 828603398b..d0a8335a99 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; } |