Bug 1130811 - Handle argsbody and seq nodes by kind, when recycling. r=shu

This commit is contained in:
Jeff Walden 2015-02-10 01:00:02 -08:00
parent 3799e4fdc6
commit 1d639827c7

View File

@ -436,6 +436,8 @@ PushNodeChildren(ParseNode *pn, NodeStack *stack)
case PNK_CONST:
case PNK_GLOBALCONST:
case PNK_CATCHLIST:
case PNK_SEQ:
case PNK_ARGSBODY:
return PushListNodeChildren(pn, stack);
case PNK_LABEL:
@ -465,8 +467,6 @@ PushNodeChildren(ParseNode *pn, NodeStack *stack)
case PNK_EXPORT_FROM:
case PNK_EXPORT_SPEC_LIST:
case PNK_EXPORT_SPEC:
case PNK_SEQ:
case PNK_ARGSBODY:
break; // for now
case PNK_LIMIT: // invalid sentinel value