mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-24 16:17:29 +09:00
Issue #2173 - Add accessors to NullaryNode and change LoopControlStatement arity to PN_LOOP
Based-on: m-c 1479659/6
This commit is contained in:
parent
ba730c488f
commit
a49f4d0483
10 changed files with 166 additions and 68 deletions
|
|
@ -598,7 +598,6 @@ static inline PropertyName*
|
|||
LoopControlMaybeLabel(ParseNode* pn)
|
||||
{
|
||||
MOZ_ASSERT(pn->isKind(PNK_BREAK) || pn->isKind(PNK_CONTINUE));
|
||||
MOZ_ASSERT(pn->isArity(PN_NULLARY));
|
||||
return pn->as<LoopControlStatement>().label();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue