blob: 2164e99ec84db8089bbce569bb5ce97bead07e8a [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function Foo()
{
this.f = 42;
}
function bar()
{
return new Foo();
}
noInline(Foo);
noInline(bar);
(function() {
for (var i = 0; i < 10000000; ++i) {
var result = bar();
if (result.f != 42)
throw "Error: bad result: " + result;
}
})();