Bug 1130811 - Mark PNK_NOP nodes as not being definitions for simpler cleanup of such nodes later. r=shu

--HG--
extra : rebase_source : 63e4bd34070f3844cf35a25e76a9fd29c74059c1
This commit is contained in:
Jeff Walden 2015-02-10 01:00:01 -08:00
parent 18452dd552
commit f33a2676da

View File

@ -1140,6 +1140,7 @@ Parser<FullParseHandler>::makeDefIntoUse(Definition *dn, ParseNode *pn, JSAtom *
handler.prepareNodeForMutation(dn);
dn->setKind(PNK_NOP);
dn->setArity(PN_NULLARY);
dn->setDefn(false);
return true;
}