| Index: test/cctest/test-mark-compact.cc
 | 
| diff --git a/test/cctest/test-mark-compact.cc b/test/cctest/test-mark-compact.cc
 | 
| index 1674afc2082b67a96e12ee5540fa5792f516e4a3..5006c103d7a63e04951a01999f8652f3b61518df 100644
 | 
| --- a/test/cctest/test-mark-compact.cc
 | 
| +++ b/test/cctest/test-mark-compact.cc
 | 
| @@ -97,7 +97,7 @@ TEST(Promotion) {
 | 
|    heap->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask);
 | 
|  
 | 
|    // Array now sits in the old space
 | 
| -  CHECK(heap->InSpace(*array, OLD_SPACE));
 | 
| +  CHECK(heap->InSpace(*array, OLD_POINTER_SPACE));
 | 
|  }
 | 
|  
 | 
|  
 | 
| @@ -119,10 +119,10 @@ TEST(NoPromotion) {
 | 
|    CHECK(heap->InSpace(*array, NEW_SPACE));
 | 
|  
 | 
|    // Simulate a full old space to make promotion fail.
 | 
| -  SimulateFullSpace(heap->old_space());
 | 
| +  SimulateFullSpace(heap->old_pointer_space());
 | 
|  
 | 
|    // Call mark compact GC, and it should pass.
 | 
| -  heap->CollectGarbage(OLD_SPACE);
 | 
| +  heap->CollectGarbage(OLD_POINTER_SPACE);
 | 
|  }
 | 
|  
 | 
|  
 | 
| @@ -138,7 +138,7 @@ TEST(MarkCompactCollector) {
 | 
|    Handle<GlobalObject> global(isolate->context()->global_object());
 | 
|  
 | 
|    // call mark-compact when heap is empty
 | 
| -  heap->CollectGarbage(OLD_SPACE, "trigger 1");
 | 
| +  heap->CollectGarbage(OLD_POINTER_SPACE, "trigger 1");
 | 
|  
 | 
|    // keep allocating garbage in new space until it fails
 | 
|    const int arraysize = 100;
 | 
| @@ -165,7 +165,7 @@ TEST(MarkCompactCollector) {
 | 
|      factory->NewJSObject(function);
 | 
|    }
 | 
|  
 | 
| -  heap->CollectGarbage(OLD_SPACE, "trigger 4");
 | 
| +  heap->CollectGarbage(OLD_POINTER_SPACE, "trigger 4");
 | 
|  
 | 
|    { HandleScope scope(isolate);
 | 
|      Handle<String> func_name = factory->InternalizeUtf8String("theFunction");
 | 
| @@ -183,7 +183,7 @@ TEST(MarkCompactCollector) {
 | 
|      JSReceiver::SetProperty(obj, prop_name, twenty_three, SLOPPY).Check();
 | 
|    }
 | 
|  
 | 
| -  heap->CollectGarbage(OLD_SPACE, "trigger 5");
 | 
| +  heap->CollectGarbage(OLD_POINTER_SPACE, "trigger 5");
 | 
|  
 | 
|    { HandleScope scope(isolate);
 | 
|      Handle<String> obj_name = factory->InternalizeUtf8String("theObject");
 | 
| @@ -308,7 +308,7 @@ TEST(ObjectGroups) {
 | 
|                                   g2c1.location());
 | 
|    }
 | 
|    // Do a full GC
 | 
| -  heap->CollectGarbage(OLD_SPACE);
 | 
| +  heap->CollectGarbage(OLD_POINTER_SPACE);
 | 
|  
 | 
|    // All object should be alive.
 | 
|    CHECK_EQ(0, NumberOfWeakCalls);
 | 
| @@ -335,7 +335,7 @@ TEST(ObjectGroups) {
 | 
|                                   g2c1.location());
 | 
|    }
 | 
|  
 | 
| -  heap->CollectGarbage(OLD_SPACE);
 | 
| +  heap->CollectGarbage(OLD_POINTER_SPACE);
 | 
|  
 | 
|    // All objects should be gone. 5 global handles in total.
 | 
|    CHECK_EQ(5, NumberOfWeakCalls);
 | 
| @@ -348,7 +348,7 @@ TEST(ObjectGroups) {
 | 
|                            reinterpret_cast<void*>(&g2c1_and_id),
 | 
|                            &WeakPointerCallback);
 | 
|  
 | 
| -  heap->CollectGarbage(OLD_SPACE);
 | 
| +  heap->CollectGarbage(OLD_POINTER_SPACE);
 | 
|    CHECK_EQ(7, NumberOfWeakCalls);
 | 
|  }
 | 
|  
 | 
| 
 |