Index: test/cctest/heap/test-mark-compact.cc |
diff --git a/test/cctest/heap/test-mark-compact.cc b/test/cctest/heap/test-mark-compact.cc |
index 1e5d30d0e7f56b738d0dd6fc1e87ab41d7c63763..a906d3473fec3b07ee78e43111faa94cb1895fe9 100644 |
--- a/test/cctest/heap/test-mark-compact.cc |
+++ b/test/cctest/heap/test-mark-compact.cc |
@@ -84,8 +84,7 @@ TEST(Promotion) { |
heap::SealCurrentObjects(heap); |
- int array_length = |
- heap::FixedArrayLenFromSize(Page::kMaxRegularHeapObjectSize); |
+ int array_length = heap::FixedArrayLenFromSize(kMaxRegularHeapObjectSize); |
Handle<FixedArray> array = isolate->factory()->NewFixedArray(array_length); |
// Array should be in the new space. |
@@ -105,8 +104,7 @@ HEAP_TEST(NoPromotion) { |
heap::SealCurrentObjects(heap); |
- int array_length = |
- heap::FixedArrayLenFromSize(Page::kMaxRegularHeapObjectSize); |
+ int array_length = heap::FixedArrayLenFromSize(kMaxRegularHeapObjectSize); |
Handle<FixedArray> array = isolate->factory()->NewFixedArray(array_length); |
heap->set_force_oom(true); |