mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Restore correct form of assertion removed by last rev.
This commit is contained in:
parent
aa8c622859
commit
fb67784b9c
@ -1773,6 +1773,7 @@ EmitElemOp(JSContext *cx, JSParseNode *pn, JSOp op, JSCodeGenerator *cg)
|
||||
top = CG_OFFSET(cg);
|
||||
if (pn->pn_arity == PN_LIST) {
|
||||
/* Left-associative operator chain to avoid too much recursion. */
|
||||
JS_ASSERT(pn->pn_op == JSOP_GETELEM);
|
||||
JS_ASSERT(pn->pn_count >= 3);
|
||||
left = pn->pn_head;
|
||||
right = PN_LAST(pn);
|
||||
|
Loading…
Reference in New Issue
Block a user