blob: f3e578c2f8c2cd9bf6063ded378d25c2ad02bff6 [file] [log] [blame]
//@ skip
// previously defaultNoEagerRun
// This test fails with reoptimizationRetryCount=1 with both default and ftl-no-cjit.
// Reenable this test after fixing https://bugs.webkit.org/show_bug.cgi?id=129953.
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);