summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1287399.js
blob: c7e6b8f44d8207010381c15dd018c08f954a1f76 (plain)
1
2
3
4
5
6
7
8
9
10
11
// |jit-test| skip-if: typeof gczeal !== 'function' || helperThreadCount() === 0

var lfGlobal = newGlobal();
gczeal(4);
for (lfLocal in this) {}
lfGlobal.offThreadCompileToStencil(`
  var desc = {
    value: 'bar',
    value: false,
  };
`);