blob: 0713fd67814d1f02e6d7e233776188c94a63b3bd [file] [log] [blame]
function foo(int, o) {
var x = int;
o.f = x;
for (var i = 0; i < 100; ++i)
x += 0.5;
}
noInline(foo);
for (var i = 0; i < 100; ++i)
foo(42, {});
var o = {g: 43};
foo(47, o);
if (o.f != 47)
throw "Error: o.f is " + o.f;