blob: 6be3b210a01e0056e7a6d4ecc119fef7cedd29ef [file] [log] [blame]
function foo(o, a, b, c, d, e, f, g, h, i, j) {
return o.f;
}
function bar(o) {
return foo(o);
}
noInline(foo);
noInline(bar);
for (var i = 0; i < 100000; ++i)
bar({f:42});
var result = bar({g:24, f:43});
if (result != 43)
throw "Error: bad result: " + result;