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

for (var i = 0; i < 5; i++) {
    assertEq(foo(1n), false);
}

function foo(x) {
    return x == null || x == undefined;
}