Index: test/cctest/test-spaces.cc |
=================================================================== |
--- test/cctest/test-spaces.cc (revision 631) |
+++ test/cctest/test-spaces.cc (working copy) |
@@ -207,14 +207,11 @@ |
TEST(LargeObjectSpace) { |
- CHECK(Heap::ConfigureHeapDefault()); |
- MemoryAllocator::Setup(Heap::MaxCapacity()); |
+ CHECK(Heap::Setup(false)); |
- LargeObjectSpace* lo = new LargeObjectSpace(LO_SPACE); |
+ LargeObjectSpace* lo = Heap::lo_space(); |
CHECK(lo != NULL); |
- CHECK(lo->Setup()); |
- |
Map* faked_map = reinterpret_cast<Map*>(HeapObject::FromAddress(0)); |
int lo_size = Page::kPageSize; |