summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/unbox-double-arrays.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/unbox-double-arrays.js')
-rw-r--r--deps/v8/test/mjsunit/unbox-double-arrays.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/unbox-double-arrays.js b/deps/v8/test/mjsunit/unbox-double-arrays.js
index 5d061ae8c..e773f4b0f 100644
--- a/deps/v8/test/mjsunit/unbox-double-arrays.js
+++ b/deps/v8/test/mjsunit/unbox-double-arrays.js
@@ -352,6 +352,9 @@ function testOneArrayType(allocator) {
assertTrue(%HasFastDoubleElements(large_array));
}
+// Force gc here to start with a clean heap if we repeat this test multiple
+// times.
+gc();
testOneArrayType(make_object_like_array);
testOneArrayType(Array);