mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 477048 - Assertion failure: cg->stackDepth == loopDepth, at ../jsemit.cpp. r=brendan.
This commit is contained in:
parent
dcbe94da52
commit
8a3b35c57e
@ -2352,9 +2352,10 @@ EmitPropOp(JSContext *cx, JSParseNode *pn, JSOp op, JSCodeGenerator *cg,
|
||||
{
|
||||
JSParseNode *pn2, *pndot, *pnup, *pndown;
|
||||
ptrdiff_t top;
|
||||
|
||||
|
||||
/* Special case deoptimization on __proto__, __count__ and __parent__. */
|
||||
if (pn->pn_arity == PN_NAME &&
|
||||
if (pn->pn_arity == PN_NAME &&
|
||||
(op == JSOP_GETPROP || op == JSOP_CALLPROP) &&
|
||||
(pn->pn_atom == cx->runtime->atomState.protoAtom ||
|
||||
pn->pn_atom == cx->runtime->atomState.countAtom ||
|
||||
pn->pn_atom == cx->runtime->atomState.parentAtom)) {
|
||||
|
Loading…
Reference in New Issue
Block a user