summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1526840.js
blob: 08f1ec64ae02a316b8975d2d8dd75c12bc2417fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
setJitCompilerOption("offthread-compilation.enable", 0);
setJitCompilerOption("baseline.warmup.trigger", 0);
setJitCompilerOption("ion.warmup.trigger", 0);

for (let j = 0; j < 2; ++j) {
    let z = j ? 0n : 1;
    if (z) {
        z = 0;
    } else {
        z = 0;
    }
}