summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/warp/bug1681597.js
blob: cc0d83f4b9f32a461218812d5a845ad2151cf7d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// |jit-test| --fast-warmup; --no-threads

function f(x) {
    (function () {
        (1 == (x & 0) * 1.1) + x;
    })();
}
let y = [,,,2147483648,0,0];
for (let i = 0; i < 6; i++) {
    f(y[i]);
    f(y[i]);
    f(y[i]);
    f(y[i]);
    f(y[i]);
    f(y[i]);
    f(y[i]);
    f(y[i]);
    f(y[i]);
}