blob: bbc8a3073ce9170b4e9897333900d509bce01530 [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
//@ runNoFTL
function foo() {
return arguments;
}
function bar(a, b, c) {
var thingy = foo(b, c, 42);
return thingy[0] + thingy[1] + thingy[2];
}
for (var i = 0; i < 200000; ++i) {
var result = bar(1, 2, 3);
if (result != 47)
throw "Bad result: " + result;
}