mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 488843 - Restore missing check for un-optimiziable frames. r=brendan
This commit is contained in:
parent
0b7ce64dae
commit
2c2aafd490
@ -1857,7 +1857,7 @@ MakeUpvarForEval(JSParseNode *pn, JSCodeGenerator *cg)
|
||||
|
||||
uintN upvarLevel = fun->u.i.script->staticLevel;
|
||||
JS_ASSERT(cg->staticLevel > upvarLevel);
|
||||
if (upvarLevel >= JS_DISPLAY_SIZE)
|
||||
if (cg->staticLevel >= JS_DISPLAY_SIZE || upvarLevel >= JS_DISPLAY_SIZE)
|
||||
return true;
|
||||
|
||||
JSAtomListElement *ale = cg->upvarList.lookup(atom);
|
||||
|
Loading…
Reference in New Issue
Block a user