Fix bogus assertion (350253, DEBUG-only fix).

This commit is contained in:
brendan%mozilla.org 2006-08-26 05:09:43 +00:00
parent 822415306c
commit 08472c75f4

View File

@ -3683,7 +3683,7 @@ AssignExpr(JSContext *cx, JSTokenStream *ts, JSTreeContext *tc)
#endif
#if JS_HAS_LVALUE_RETURN
case TOK_LP:
JS_ASSERT(pn->pn_op == JSOP_CALL || pn->pn_op == JSOP_EVAL);
JS_ASSERT(pn2->pn_op == JSOP_CALL || pn2->pn_op == JSOP_EVAL);
pn2->pn_op = JSOP_SETCALL;
break;
#endif