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

m = 'x';
for (var i = 0; i < 10; i++)
    m += m;
offThreadCompileToStencil("", ({elementAttributeName: m}));
var n = newGlobal();
gczeal(2,1);
var stencil = n.finishOffThreadStencil();
n.evalStencil(stencil);