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

enableGeckoProfiling();
var s = newGlobal();
s.offThreadCompileToStencil('oomTest(() => {});');
var stencil = s.finishOffThreadStencil();
s.evalStencil(stencil);