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

offThreadCompileToStencil(`
 oomTest(() => "".search(/d/));
 fullcompartmentchecks(3);
`);
var stencil = finishOffThreadStencil();
evalStencil(stencil);