blob: 9fc1bd59b90f273c55a05ddec49a166b2cb46d8a (
plain)
1
2
3
4
5
6
7
8
9
10
|
// |jit-test| allow-oom; skip-if: typeof oomAfterAllocations !== 'function'
lfcode = new Array();
oomAfterAllocations(100);
loadFile(file);
lfGlobal = newGlobal()
for (lfLocal in this)
if (!(lfLocal in lfGlobal))
lfGlobal[lfLocal] = this[lfLocal]
offThreadCompileScript(lfVarx)
lfGlobal.runOffThreadScript()
|