blob: 01e819d502e81044ccb586345bd9cb57dc467041 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// |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();
|