summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2016-01-23 14:16:58 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-01-23 14:16:58 +0000
commit5d5dbeb0344fa57f34cee40f01f96829eae4b514 (patch)
tree5e4a1f49fe8e59c105397b53da3a5a963a22a9ff /compiler/driver/compiler_driver.cc
parent01ebf4a0197ab221cb5af348607696458c5b927a (diff)
parent1bc977cf2f8199311a97f2ba9431a184540e3e9c (diff)
Merge "Revert "Load app images""
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-rw-r--r--compiler/driver/compiler_driver.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc
index 818d50a994..d0215255e8 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -730,8 +730,8 @@ void CompilerDriver::PreCompile(jobject class_loader, const std::vector<const De
bool CompilerDriver::IsImageClass(const char* descriptor) const {
if (!IsBootImage()) {
- // NOTE: Currently only reachable from InitImageMethodVisitor for the app image case.
- return true;
+ // NOTE: Currently unreachable, all callers check IsImage().
+ return false;
} else {
return image_classes_->find(descriptor) != image_classes_->end();
}