| Index: test/cctest/test-heap.cc
|
| diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
|
| index d2b915690e2bb03e1c5b0ee4af0fc5271eb0371a..a55238b8204c97d56b9e950abfa282bf7acfe052 100644
|
| --- a/test/cctest/test-heap.cc
|
| +++ b/test/cctest/test-heap.cc
|
| @@ -984,7 +984,7 @@ TEST(Regression39128) {
|
| // just enough room to allocate JSObject and thus fill the newspace.
|
|
|
| int allocation_amount = Min(FixedArray::kMaxSize,
|
| - HEAP->MaxObjectSizeInNewSpace());
|
| + Page::kMaxNonCodeHeapObjectSize);
|
| int allocation_len = LenFromSize(allocation_amount);
|
| NewSpace* new_space = HEAP->new_space();
|
| Address* top_addr = new_space->allocation_top_address();
|
|
|