blob: a9f55b6fbbcd2edda5a27c0217a1fd1d2fba650c [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function foo(array) {
var result = 0;
for (var i = 0; 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);