blob: a4f9fb4eefb5b38335da9ad267d147795e765aa4 [file] [log] [blame]
// FIXME: Bring back something like the deferGC probability mode.
// https://bugs.webkit.org/show_bug.cgi?id=166627
//@ skip
// //@ runFTLNoCJIT("--scribbleFreeCells=true", "--deferGCShouldCollectWithProbability=true", "--deferGCProbability=1")
// Create some array storage.
var array = [];
ensureArrayStorage(array);
for (var i = 0; i < 1000; ++i)
array.push(i);
array.unshift(1, 2, 3, 4); // This will crash if we aren't careful about when we GC during unshift.