blob: 541801728fd382a59a930366bdfa41c8a8530ef8 [file] [log] [blame]
function foo(a, b, c) {
var o = {f:42};
if ($vm.dfgTrue())
o.f = a * b * c;
return o.f | 0;
}
noInline(foo);
for (var i = 0; i < 10000; ++i) {
var result = foo(65536, 65536, 0);
if (result != 0 && result != 42)
throw "Error: bad result: " + result;
}