summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2016-01-22 23:18:18 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-01-22 23:18:18 +0000
commit4e5e65d05117dcef48de6633210c9d409079d9bf (patch)
treea43d52ef8fe1247626448e92bc4f87c9d4a348df /compiler/driver/compiler_driver.cc
parent2d0582b6c96cf16e18df50158494e32eeede0a95 (diff)
parentf7fd970244f143b1abb956e29794c446e4d57f46 (diff)
Merge "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 d0215255e8..818d50a994 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 unreachable, all callers check IsImage().
- return false;
+ // NOTE: Currently only reachable from InitImageMethodVisitor for the app image case.
+ return true;
} else {
return image_classes_->find(descriptor) != image_classes_->end();
}