Index: test/cctest/test-spaces.cc |
=================================================================== |
--- test/cctest/test-spaces.cc (revision 10555) |
+++ test/cctest/test-spaces.cc (working copy) |
@@ -140,8 +140,8 @@ |
heap->MaxReserved(), |
OLD_POINTER_SPACE, |
NOT_EXECUTABLE); |
- Page* first_page = |
- memory_allocator->AllocatePage(&faked_space, NOT_EXECUTABLE); |
+ Page* first_page = memory_allocator->AllocatePage( |
+ Page::kObjectAreaSize, &faked_space, NOT_EXECUTABLE); |
first_page->InsertAfter(faked_space.anchor()->prev_page()); |
CHECK(first_page->is_valid()); |
@@ -154,7 +154,8 @@ |
// Again, we should get n or n - 1 pages. |
Page* other = |
- memory_allocator->AllocatePage(&faked_space, NOT_EXECUTABLE); |
+ memory_allocator->AllocatePage( |
+ Page::kObjectAreaSize, &faked_space, NOT_EXECUTABLE); |
CHECK(other->is_valid()); |
total_pages++; |
other->InsertAfter(first_page); |