summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1214846.js
blob: f147d1807092414e410436d0263797462762c599 (plain)
1
2
3
4
5
6
7
if (!('oomTest' in this) || helperThreadCount() === 0)
    quit();

enableSPSProfiling();
var s = newGlobal();
s.offThreadCompileScript('oomTest(() => {});');
s.runOffThreadScript();