mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-25 08:37:30 +09:00
parent
9c17ec0533
commit
4726d96fd2
12 changed files with 560 additions and 475 deletions
|
|
@ -429,22 +429,19 @@ ReturnExpr(ParseNode* pn)
|
|||
static inline ParseNode*
|
||||
TernaryKid1(ParseNode* pn)
|
||||
{
|
||||
MOZ_ASSERT(pn->isArity(PN_TERNARY));
|
||||
return pn->pn_kid1;
|
||||
return pn->as<TernaryNode>().kid1();
|
||||
}
|
||||
|
||||
static inline ParseNode*
|
||||
TernaryKid2(ParseNode* pn)
|
||||
{
|
||||
MOZ_ASSERT(pn->isArity(PN_TERNARY));
|
||||
return pn->pn_kid2;
|
||||
return pn->as<TernaryNode>().kid2();
|
||||
}
|
||||
|
||||
static inline ParseNode*
|
||||
TernaryKid3(ParseNode* pn)
|
||||
{
|
||||
MOZ_ASSERT(pn->isArity(PN_TERNARY));
|
||||
return pn->pn_kid3;
|
||||
return pn->as<TernaryNode>().kid3();
|
||||
}
|
||||
|
||||
static inline ParseNode*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue