dead-fiat-value-to-int52-then-exit-not-double.js   [plain text]


function foo() {
    var value = bar(DFGTrue());
    fiatInt52(value);
    fiatInt52(value);
}

var thingy = false;
function bar(p) {
    if (thingy)
        return "hello";
    return p ? 42 : 5.5;
}

noInline(foo);
noInline(bar);

for (var i = 0; i < 1000000; ++i)
    foo();

thingy = true;
foo();