mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
Bug 509636 - Assertion failure: pn->pn_type != TOK_COMMA, at ../jsemit.cpp. r=Waldo.
--HG-- extra : rebase_source : 1d413958d72dc3fda3ade90cf199965fb1d6de61
This commit is contained in:
parent
b9ad5fce20
commit
b3f80130de
@ -3850,7 +3850,7 @@ EmitGroupAssignment(JSContext *cx, JSCodeGenerator *cg, JSOp prologOp,
|
||||
}
|
||||
|
||||
/* MaybeEmitGroupAssignment won't call us if rhs is holey. */
|
||||
JS_ASSERT(pn->pn_type != TOK_COMMA);
|
||||
JS_ASSERT(!(pn->pn_type == TOK_COMMA && pn->pn_arity == PN_NULLARY));
|
||||
if (!js_EmitTree(cx, cg, pn))
|
||||
return JS_FALSE;
|
||||
++limit;
|
||||
|
Loading…
Reference in New Issue
Block a user