Index: test/cctest/test-spaces.cc |
=================================================================== |
--- test/cctest/test-spaces.cc (revision 5798) |
+++ test/cctest/test-spaces.cc (working copy) |
@@ -91,7 +91,7 @@ |
TEST(MemoryAllocator) { |
CHECK(Heap::ConfigureHeapDefault()); |
- CHECK(MemoryAllocator::Setup(Heap::MaxReserved())); |
+ CHECK(MemoryAllocator::Setup(Heap::MaxReserved(), Heap::MaxExecutableSize())); |
OldSpace faked_space(Heap::MaxReserved(), OLD_POINTER_SPACE, NOT_EXECUTABLE); |
int total_pages = 0; |
@@ -147,7 +147,7 @@ |
TEST(NewSpace) { |
CHECK(Heap::ConfigureHeapDefault()); |
- CHECK(MemoryAllocator::Setup(Heap::MaxReserved())); |
+ CHECK(MemoryAllocator::Setup(Heap::MaxReserved(), Heap::MaxExecutableSize())); |
NewSpace new_space; |
@@ -172,7 +172,7 @@ |
TEST(OldSpace) { |
CHECK(Heap::ConfigureHeapDefault()); |
- CHECK(MemoryAllocator::Setup(Heap::MaxReserved())); |
+ CHECK(MemoryAllocator::Setup(Heap::MaxReserved(), Heap::MaxExecutableSize())); |
OldSpace* s = new OldSpace(Heap::MaxOldGenerationSize(), |
OLD_POINTER_SPACE, |