bug-1271507.js (359B)
1 // |jit-test| allow-oom; skip-if: !hasFunction.oomAfterAllocations 2 lfcode = new Array(); 3 oomAfterAllocations(100); 4 loadFile(file); 5 lfGlobal = newGlobal() 6 for (lfLocal in this) 7 if (!(lfLocal in lfGlobal)) 8 lfGlobal[lfLocal] = this[lfLocal] 9 offThreadCompileToStencil(lfVarx); 10 var stencil = lfGlobal.finishOffThreadStencil(); 11 lfGlobal.evalStencil(stencil);