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