mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add an assertion per bug 626436 comments 7-9. rs=brendan.
--HG-- extra : rebase_source : 96bda82ab2b558ff794072c0b128a22ee46d7da1
This commit is contained in:
parent
452f71a352
commit
ec078d1750
@ -165,6 +165,7 @@ JSParseNode::become(JSParseNode *pn2)
|
||||
pn_funbox->node = this;
|
||||
} else if (pn_arity == PN_LIST && !pn_head) {
|
||||
/* Empty list: fix up the pn_tail pointer. */
|
||||
JS_ASSERT(pn_count == 0);
|
||||
JS_ASSERT(pn_tail == &pn2->pn_head);
|
||||
pn_tail = &pn_head;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user