diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/jit-test/tests/cacheir/bug1526872.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/cacheir/bug1526872.js b/js/src/jit-test/tests/cacheir/bug1526872.js new file mode 100644 index 0000000000..33d65e9443 --- /dev/null +++ b/js/src/jit-test/tests/cacheir/bug1526872.js @@ -0,0 +1,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; +} |