Debian Codegraph @

js/src/jit-test/tests/parser/bug-1263355-48.js

raw
1 // |jit-test| skip-if: helperThreadCount() === 0
2
3 function eval(source) {
4 offThreadCompileModuleToStencil(source);
5 let stencil = finishOffThreadStencil();
6 let m = instantiateModuleStencil(stencil);
7 moduleLink(m);
8 return moduleEvaluate(m);
9 }
10 function runTestCase(testcase) {
11 if (testcase() !== true) {}
12 }
13 eval(`
14 function testcase() {
15 function set () {}
16 }
17 runTestCase(testcase);
18 `);