summaryrefslogtreecommitdiff
path: root/compiler/image_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/image_test.cc')
-rw-r--r--compiler/image_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/image_test.cc b/compiler/image_test.cc
index e22e7028f6..b9a87f1c68 100644
--- a/compiler/image_test.cc
+++ b/compiler/image_test.cc
@@ -99,7 +99,7 @@ TEST_F(ImageTest, WriteRead) {
gc::space::ContinuousSpace* space = heap->GetNonMovingSpace();
ASSERT_FALSE(space->IsImageSpace());
ASSERT_TRUE(space != NULL);
- ASSERT_TRUE(space->IsDlMallocSpace());
+ ASSERT_TRUE(space->IsMallocSpace());
ASSERT_GE(sizeof(image_header) + space->Size(), static_cast<size_t>(file->GetLength()));
}
@@ -141,7 +141,7 @@ TEST_F(ImageTest, WriteRead) {
gc::Heap* heap = Runtime::Current()->GetHeap();
ASSERT_TRUE(heap->HasImageSpace());
- ASSERT_TRUE(heap->GetNonMovingSpace()->IsDlMallocSpace());
+ ASSERT_TRUE(heap->GetNonMovingSpace()->IsMallocSpace());
gc::space::ImageSpace* image_space = heap->GetImageSpace();
image_space->VerifyImageAllocations();