summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug678625.js
blob: 6fde67ea59299ad83afc2ffe6ffd7389db03342a (plain)
1
2
3
4
5
6
7
8
function foldme() {
    var v0 = 0x7fffffff;
    var v1 = 1;
    var v2 = v0 + v1;
    return v2;
}
assertEq(foldme(),2147483648);