| Index: test/cctest/test-unboxed-doubles.cc
|
| diff --git a/test/cctest/test-unboxed-doubles.cc b/test/cctest/test-unboxed-doubles.cc
|
| index c23d1356444c662d4b1e50f3355ceb7ef8556857..b6f6e1ff8729c202928a6860d9fa3bbd52a4175e 100644
|
| --- a/test/cctest/test-unboxed-doubles.cc
|
| +++ b/test/cctest/test-unboxed-doubles.cc
|
| @@ -1060,7 +1060,7 @@ TEST(DoScavenge) {
|
| CcTest::heap()->CollectGarbage(i::NEW_SPACE);
|
|
|
| // Create temp object in the new space.
|
| - Handle<JSArray> temp = factory->NewJSArray(FAST_ELEMENTS);
|
| + Handle<JSArray> temp = factory->NewJSArray(0, FAST_ELEMENTS);
|
| CHECK(isolate->heap()->new_space()->Contains(*temp));
|
|
|
| // Construct a double value that looks like a pointer to the new space object
|
| @@ -1399,7 +1399,7 @@ TEST(StoreBufferScanOnScavenge) {
|
| CHECK(isolate->heap()->old_space()->Contains(*obj));
|
|
|
| // Create temp object in the new space.
|
| - Handle<JSArray> temp = factory->NewJSArray(FAST_ELEMENTS);
|
| + Handle<JSArray> temp = factory->NewJSArray(0, FAST_ELEMENTS);
|
| CHECK(isolate->heap()->new_space()->Contains(*temp));
|
|
|
| // Construct a double value that looks like a pointer to the new space object
|
|
|