diff options
Diffstat (limited to 'js/src/jit-test/tests/asm.js/testBug1302407.js')
-rw-r--r-- | js/src/jit-test/tests/asm.js/testBug1302407.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/asm.js/testBug1302407.js b/js/src/jit-test/tests/asm.js/testBug1302407.js new file mode 100644 index 000000000..545d6d6b2 --- /dev/null +++ b/js/src/jit-test/tests/asm.js/testBug1302407.js @@ -0,0 +1,6 @@ +if (!this['SharedArrayBuffer']) + quit(); + +setJitCompilerOption('asmjs.atomics.enable', 1); +new SharedArrayBuffer(65536); +setJitCompilerOption('asmjs.atomics.enable', 0) |