blob: d29e60c0191118b916420395ae5d16191bdd0d25 [file] [log] [blame]
function Foo(a, b, c, d, e, f, g)
{
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;
}
})();