blob: 63cc19025754c1b97ab33f542f819ceb9534f340 [file] [log] [blame]
//@ skip if $architecture == "mips"
//@ runDefault("--jitPolicyScale=0", "--gcMaxHeapSize=2000")
// This test happened to catch a case where we failed to zero the space in the butterfly before m_lastOffset when reallocating.
var array = Array(1000);
for (var i = 0; i < 100000; ++i) {
array[i - array.length] = '';
array[i ^ array.length] = '';
}