blob: 5573d2f2c8dd2aad21444d75361e3ef1b641c8cb [file] [log] [blame]
function foo(array) {
var result = 0;
for (var i = array.length; i--;)
result += array[i];
return result;
}
noInline(foo);
var array = [];
for (var i = 0; i < 1000; ++i)
array.push(i);
for (var i = 0; i < 50000; ++i)
foo(array);