blob: 01e819d502e81044ccb586345bd9cb57dc467041 [file] [log] [blame]
// |jit-test| slow;
if (!('oomTest' in this))
quit();
enableSPSProfiling();
var lfGlobal = newGlobal();
for (lfLocal in this) {
lfGlobal[lfLocal] = this[lfLocal];
}
const script = 'oomTest(() => getBacktrace({args: true, locals: "123795", thisprops: true}));';
lfGlobal.offThreadCompileScript(script);
lfGlobal.runOffThreadScript();