blob: 235c5676a0984c36ac918694349de9b793feb031 [file] [log] [blame]
var array = new Float64Array(1);
array[0] = 42;
function foo() {
return fiatInt52(bar()) + 1;
}
function bar() {
return array[0];
}
noInline(foo);
noInline(bar);
for (var i = 0; i < 1000000; ++i) {
var result = foo();
if (result != 43)
throw "Error: bad result: " + result;
}