js1_8/genexps/regress-380237-0[34].js fail, regression from introduction of JSOP_RESUME (458356, r=gal).

This commit is contained in:
mrbkap
2008-10-08 19:46:12 -07:00
parent e053334a0c
commit 679bacd1ce

View File

@@ -3943,6 +3943,10 @@ Decompile(SprintStack *ss, jsbytecode *pc, intN nb, JSOp nextop)
LOCAL_ASSERT(GET_ARGC(pc) == 0);
len = JSOP_CALL_LENGTH;
/* Skip over the waiting JSOP_RESUME. */
LOCAL_ASSERT(pc[len] == JSOP_RESUME);
len += JSOP_RESUME_LENGTH;
/*
* Arrange to parenthesize this genexp unless:
*