Debian Codegraph @

js/src/jit-test/tests/profiler/bug1211962.js

raw
1 // |jit-test| slow; skip-if: helperThreadCount() === 0
2
3 enableGeckoProfiling();
4 var lfGlobal = newGlobal();
5 for (lfLocal in this) {
6 lfGlobal[lfLocal] = this[lfLocal];
7 }
8 const script = 'oomTest(() => getBacktrace({args: true, locals: "123795", thisprops: true}));';
9 lfGlobal.offThreadCompileToStencil(script);
10 var stencil = lfGlobal.finishOffThreadStencil();
11 lfGlobal.evalStencil(stencil);