blob: 2390c93239bf6f8113d3527dd591bf3a351cda69 [file] [log] [blame]
//@ runFTLNoCJIT("--createPreHeaders=false")
function foo(array) {
var result = 0;
var i = 0;
if (!array.length)
array = [1];
do {
result += array[i++];
} while (i < array.length)
return result;
}
noInline(foo);
for (var i = 0; i < 10000; ++i)
foo([1, 2, 3]);