summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2015-11-12 03:23:54 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-11-12 03:23:54 +0000
commit11a4c96a7f8268a94cbdcbc2771d03bc4f2ce065 (patch)
treeadfbb7a6e8c8af90d3a87c6aba3cb44700db8e4e /compiler/driver/compiler_driver.cc
parent2abe1f4a8d6b56ed95da0671091e4fe15f651bd6 (diff)
parent073b16c8429d302d5413e8ffc488b03b8f770780 (diff)
Merge "Image space cleanup for app images"
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-rw-r--r--compiler/driver/compiler_driver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc
index ecbc3a2cf7..bf3a8658da 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -1552,7 +1552,7 @@ void CompilerDriver::GetCodeAndMethodForDirectCall(InvokeType* type, InvokeType
*type = sharp_type;
}
} else {
- auto* image_space = heap->GetImageSpace();
+ auto* image_space = heap->GetBootImageSpace();
bool method_in_image = false;
if (image_space != nullptr) {
const auto& method_section = image_space->GetImageHeader().GetMethodsSection();