Index: test/cctest/test-unboxed-doubles.cc |
diff --git a/test/cctest/test-unboxed-doubles.cc b/test/cctest/test-unboxed-doubles.cc |
index 52d045565229b69a5ff8327fbb6ae091b96f44b3..b4110eb8449d30a919662572a388115cd95926af 100644 |
--- a/test/cctest/test-unboxed-doubles.cc |
+++ b/test/cctest/test-unboxed-doubles.cc |
@@ -1411,7 +1411,7 @@ static void TestWriteBarrier(Handle<Map> map, Handle<Map> new_map, |
obj = factory->NewJSObjectFromMap(map, TENURED); |
CHECK(old_space->Contains(*obj)); |
- obj_value = factory->NewJSArray(32 * KB, FAST_HOLEY_ELEMENTS); |
+ obj_value = factory->NewHeapNumber(0.); |
} |
CHECK(heap->InNewSpace(*obj_value)); |