diff options
author | buzbee <buzbee@google.com> | 2013-08-12 16:15:53 -0700 |
---|---|---|
committer | buzbee <buzbee@google.com> | 2013-08-12 16:15:53 -0700 |
commit | 155ecba1c9b56ce1b468135e6a591a3fe9258c52 (patch) | |
tree | e854eeece968c454d8cbf34a88e5a6e92ca7feed /compiler/driver | |
parent | 4baa8083ae0820f71cf0f03b94fd7f8d3b9bfa46 (diff) | |
download | art-155ecba1c9b56ce1b468135e6a591a3fe9258c52.zip art-155ecba1c9b56ce1b468135e6a591a3fe9258c52.tar.gz art-155ecba1c9b56ce1b468135e6a591a3fe9258c52.tar.bz2 |
Fix SMALL_ART
On all art builds, the images classes must be compiled. When doing
a small art build, it is necessary to override the default compiler
filter to force compilation. A merge mistake broke this logic
for dalvik-dev.
Change-Id: I88186bd89d0ccb4316ee0910e9324ddc3e6a1f75
Diffstat (limited to 'compiler/driver')
-rw-r--r-- | compiler/driver/compiler_driver.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index 56b629c..ae00100 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -2227,10 +2227,6 @@ void CompilerDriver::CompileMethod(const DexFile::CodeItem* code_item, uint32_t } else { bool compile = verifier::MethodVerifier::IsCandidateForCompilation(code_item, access_flags); if (compile) { - // If we're doing the image, override the compiler filter to force full compilation. - if ((image_classes_.get() != NULL) && (image_classes_->size() != 0)) { - Runtime::Current()->SetCompilerFilter(Runtime::kSpeed); - } CompilerFn compiler = compiler_; #ifdef ART_SEA_IR_MODE bool use_sea = Runtime::Current()->IsSeaIRMode(); |