blob: d65149e7797cb33f5990fe2644c8ec9473c860c4 [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
"use strict";
function foo()
{
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;
}
})();