mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
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:
parent
18452dd552
commit
f33a2676da
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user