| Index: test/cctest/test-heap.cc
|
| diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
|
| index 22d2458ceb98f02b155c36e608a5add4c0a97b09..b496362f7bd9a21f8524d443412e14882e2829e9 100644
|
| --- a/test/cctest/test-heap.cc
|
| +++ b/test/cctest/test-heap.cc
|
| @@ -891,7 +891,7 @@ TEST(StringAllocation) {
|
| static int ObjectsFoundInHeap(Heap* heap, Handle<Object> objs[], int size) {
|
| // Count the number of objects found in the heap.
|
| int found_count = 0;
|
| - heap->EnsureHeapIsIterable();
|
| + heap->MakeHeapIterable();
|
| HeapIterator iterator(heap);
|
| for (HeapObject* obj = iterator.next(); obj != NULL; obj = iterator.next()) {
|
| for (int i = 0; i < size; i++) {
|
| @@ -1630,7 +1630,7 @@ TEST(TestSizeOfObjects) {
|
|
|
| TEST(TestSizeOfObjectsVsHeapIteratorPrecision) {
|
| CcTest::InitializeVM();
|
| - CcTest::heap()->EnsureHeapIsIterable();
|
| + CcTest::heap()->MakeHeapIterable();
|
| intptr_t size_of_objects_1 = CcTest::heap()->SizeOfObjects();
|
| HeapIterator iterator(CcTest::heap());
|
| intptr_t size_of_objects_2 = 0;
|
|
|