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

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