blob: 734eb18ab25a50c482fb037f628b34ec315036e4 [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function foo(a, b) {
return a + b;
}
function bar() {
return foo("hello ", "world!");
}
noInline(bar);
var result;
for (var i = 0; i < 1000000; ++i)
result = bar();
if (result != "hello world!")
throw "Error: bad result: " + result;