summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/warp/bug1688136.js
blob: a7cf52097fc851a6c7065ac7ba3ec130727380b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
function f(a, c) {
    if (c) {
        a++;
    } else {
        a--;
    }
    return (a + a) | 0;
}

with ({}) {}
for (var i = 0; i < 100; i++) {
    f(2147483647, i % 2);
}