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