| Index: test/cctest/test-spaces.cc
|
| diff --git a/test/cctest/test-spaces.cc b/test/cctest/test-spaces.cc
|
| index b4bc7ad06945cc432fb6c62559bf94389d23b764..52a93176029217e4aa67d6b68778ff8ea010054a 100644
|
| --- a/test/cctest/test-spaces.cc
|
| +++ b/test/cctest/test-spaces.cc
|
| @@ -308,7 +308,8 @@ TEST(MemoryAllocator) {
|
| heap->MaxExecutableSize()));
|
|
|
| int total_pages = 0;
|
| - OldSpace faked_space(heap, heap->MaxReserved(), OLD_SPACE, NOT_EXECUTABLE);
|
| + OldSpace faked_space(heap, heap->MaxReserved(), OLD_POINTER_SPACE,
|
| + NOT_EXECUTABLE);
|
| Page* first_page = memory_allocator->AllocatePage(
|
| faked_space.AreaSize(), &faked_space, NOT_EXECUTABLE);
|
|
|
| @@ -377,8 +378,8 @@ TEST(OldSpace) {
|
| heap->MaxExecutableSize()));
|
| TestMemoryAllocatorScope test_scope(isolate, memory_allocator);
|
|
|
| - OldSpace* s = new OldSpace(heap, heap->MaxOldGenerationSize(), OLD_SPACE,
|
| - NOT_EXECUTABLE);
|
| + OldSpace* s = new OldSpace(heap, heap->MaxOldGenerationSize(),
|
| + OLD_POINTER_SPACE, NOT_EXECUTABLE);
|
| CHECK(s != NULL);
|
|
|
| CHECK(s->SetUp());
|
|
|