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

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