blob: 611ed32e029fb62e1e79340a086baf3c77f1de85 [file] [edit]
function foo(o) {
return o.f;
}
noInline(foo);
var o = Object.create(null);
for (var i = 0; i < testLoopCount; ++i) {
var result = foo(o);
if (result !== void 0)
throw "Error: bad result in loop: " + result;
}
o.f = 42
var result = foo(o);
if (result !== 42)
throw "Error: bad result at end: " + result;