summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/xdr/off-thread-inner-fcn.js
blob: 41124280920852b8b0cd08aa90029dc4ea34c055 (plain)
1
2
3
4
5
6
7
8
9
10
11
// |jit-test| skip-if: helperThreadCount() === 0

offThreadCompileToStencil(`function outer() {
  // enough inner functions to make JS::Vector realloc
   let inner1 = () => {};
   let inner2 = () => {};
   let inner3 = () => {};
   let inner4 = () => {};
   let inner5 = () => {};
} `);
const stencil = finishOffThreadStencil();