summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/testBug1302407.js
blob: 545d6d6b297580a11c4fed8d922923c9ce16155e (plain)
1
2
3
4
5
6
if (!this['SharedArrayBuffer'])
    quit();

setJitCompilerOption('asmjs.atomics.enable', 1);
new SharedArrayBuffer(65536);
setJitCompilerOption('asmjs.atomics.enable', 0)