summaryrefslogtreecommitdiffstats
path: root/src/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
authorJeff Hao <jeffhao@google.com>2013-05-08 10:59:04 -0700
committerJeff Hao <jeffhao@google.com>2013-05-10 17:16:00 -0700
commit167436311a08a65dea28dda079a137893821c9c7 (patch)
tree4754f47306a0ffa0ad97635015d9596b427dd425 /src/compiler/driver/compiler_driver.cc
parentc44f68fb6a6d55c0df28dd05b93d8906ec20bd08 (diff)
downloadandroid_art-167436311a08a65dea28dda079a137893821c9c7.tar.gz
android_art-167436311a08a65dea28dda079a137893821c9c7.tar.bz2
android_art-167436311a08a65dea28dda079a137893821c9c7.zip
Improve interpreter to interpreter invokes.
The interpreter constructs a shadow frame instead of arg array to make interpreter to interpreter transitions faster. This adds a pointer to an entry for the interpreter to each method. Change-Id: If48911d3aa3470847b8548a9e92090b829f4f254
Diffstat (limited to 'src/compiler/driver/compiler_driver.cc')
-rw-r--r--src/compiler/driver/compiler_driver.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/driver/compiler_driver.cc b/src/compiler/driver/compiler_driver.cc
index 5ddd0a69bd..6b7d9e6390 100644
--- a/src/compiler/driver/compiler_driver.cc
+++ b/src/compiler/driver/compiler_driver.cc
@@ -492,7 +492,7 @@ void CompilerDriver::PreCompile(jobject class_loader, const std::vector<const De
bool CompilerDriver::IsImageClass(const std::string& descriptor) const {
if (image_classes_ == NULL) {
- return true;
+ return false;
}
return image_classes_->find(descriptor) != image_classes_->end();
}
@@ -1649,7 +1649,6 @@ 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) {