//@ runMiscFTLNoCJITTest("--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. |