X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fv8%2Ftest%2Fcctest%2Ftest-mark-compact.cc;h=053bce5a06e0588f02ea61e544e552f150d71738;hb=15927f25adb9a3ab0cdaa767e320c42a358cf73c;hp=c7d65310a45c04a1198f91b00f26c333dc0abeef;hpb=ec4c776d4102ef29aa949f70cae1243edbfc9ef5;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/v8/test/cctest/test-mark-compact.cc b/src/v8/test/cctest/test-mark-compact.cc index c7d6531..053bce5 100644 --- a/src/v8/test/cctest/test-mark-compact.cc +++ b/src/v8/test/cctest/test-mark-compact.cc @@ -107,6 +107,8 @@ TEST(NoPromotion) { v8::HandleScope sc(CcTest::isolate()); + heap->new_space()->Grow(); + // Allocate a big fixed array in the new space. int array_length = (Page::kMaxRegularHeapObjectSize - FixedArray::kHeaderSize) /