blob: b0bdcc22f2ddf4d16cfd025cb0374779393b9fef [file] [log] [blame]
//@ if $architecture == "arm64" and $hostOS == "darwin" then skip else defaultNoEagerRun end
function foo(a) {
a[0] = 1;
a[1] = 2;
a[2] = 3;
}
noInline(foo);
var array = new Int8Array(1);
for (var i = 0; i < 100000; ++i)
foo(array);
if (reoptimizationRetryCount(foo))
throw "Error: unexpected retry count: " + reoptimizationRetryCount(foo);