blob: 02b53714ee995afd5b2461f52265e6436af2cc0e [file] [log] [blame]
function foo(a, b, c, p) {
a = b + c;
if (p) {
a++;
return a;
}
}
function bar(a, b) {
return foo("hello", a, b, a <= b);
}
noInline(bar);
for (var i = 0; i < 100000; ++i) {
var result = bar(2000000000, 2000000000);
if (result != 4000000001)
throw "Error: bad result: " + result;
}