Bug 509636 - Assertion failure: pn->pn_type != TOK_COMMA, at ../jsemit.cpp. r=Waldo.

--HG--
extra : rebase_source : 1d413958d72dc3fda3ade90cf199965fb1d6de61
This commit is contained in:
Jason Orendorff 2009-08-11 15:57:23 -05:00
parent b9ad5fce20
commit b3f80130de

View File

@ -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;