summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1435295.js
blob: 0f091b7d494d0e97b45ba641947b05e63c280810 (plain)
1
2
3
4
5
6
7
8
9
// |jit-test| skip-if: helperThreadCount() === 0

oomTest(new Function(`function execOffThread(source) {
    offThreadCompileModuleToStencil(source);
    var stencil = finishOffThreadStencil();
    return instantiateModuleStencil(stencil);
}
b = execOffThread("[1, 2, 3]")
`));