diff options
author | Anwar Ghuloum <anwarg@google.com> | 2013-05-10 13:24:54 -0700 |
---|---|---|
committer | Anwar Ghuloum <anwarg@google.com> | 2013-05-10 13:24:54 -0700 |
commit | c44f68fb6a6d55c0df28dd05b93d8906ec20bd08 (patch) | |
tree | fc4ac69b301b7461d285f440730909555fca1809 /src/compiler/driver/compiler_driver.cc | |
parent | 2c6de22d6dcdc6fe1a065480582989e15a47fcb5 (diff) | |
download | android_art-c44f68fb6a6d55c0df28dd05b93d8906ec20bd08.tar.gz android_art-c44f68fb6a6d55c0df28dd05b93d8906ec20bd08.tar.bz2 android_art-c44f68fb6a6d55c0df28dd05b93d8906ec20bd08.zip |
Fixed Android.common.mk #define setting for small art
We were seeing things compile when they shouldn't have. This fixes it. Plus added
a bit more documentation to options, set default values for the two small art related
thresholds to zero.
Change-Id: Id5db11962f3e30d8d4ee6b85d4cf7d6e66323adb
Diffstat (limited to 'src/compiler/driver/compiler_driver.cc')
-rw-r--r-- | src/compiler/driver/compiler_driver.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/driver/compiler_driver.cc b/src/compiler/driver/compiler_driver.cc index 67a55f64e8..5ddd0a69bd 100644 --- a/src/compiler/driver/compiler_driver.cc +++ b/src/compiler/driver/compiler_driver.cc @@ -1649,11 +1649,12 @@ void CompilerDriver::CompileMethod(const DexFile::CodeItem* code_item, uint32_t } else if (code_item->insns_size_in_code_units_ < Runtime::Current()->GetSmallModeMethodDexSizeLimit()) { // Do compile small methods. dont_compile = false; + LOG(INFO) << "Compiling a small method: " << PrettyMethod(method_idx, dex_file); } if (!dont_compile) { compiled_method = (*compiler_)(*this, code_item, access_flags, invoke_type, class_def_idx, - method_idx, class_loader, dex_file); + method_idx, class_loader, dex_file); CHECK(compiled_method != NULL) << PrettyMethod(method_idx, dex_file); } } |