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