blob: 64d9f04f68de88d8dcbcb44dad19f59ad1284630 [file] [log] [blame]
function foo(a) {
return a.f + 1000;
}
noInline(foo);
for (var i = 0; i < 100000; ++i) {
var result = foo({f:1});
if (result != 1001)
throw "Error: bad result: " + result;
}
var result = foo({f:2147483148});
if (result != 2147484148)
throw "Error: bad result: " + result;