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