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

gczeal(0);
gc();

schedulezone(this);
startgc(0, "shrinking");
var g = newGlobal();
g.offThreadCompileToStencil('debugger;', {});
var stencil = g.finishOffThreadStencil();
g.evalStencil(stencil);