Bug 838813 part 4 - Remove SRC_GROUPASSIGN. r=njn.

--HG--
extra : rebase_source : bac84df8d507d48c8a71983aa7aa17617d33baf4
This commit is contained in:
Jason Orendorff 2013-02-08 16:15:29 -06:00
parent 8674149cab
commit 9b0793dc37
2 changed files with 0 additions and 4 deletions

View File

@ -3061,9 +3061,6 @@ EmitGroupAssignment(JSContext *cx, BytecodeEmitter *bce, JSOp prologOp,
++limit;
}
if (NewSrcNote2(cx, bce, SRC_GROUPASSIGN, OpToDeclType(prologOp)) < 0)
return false;
i = depth;
for (pn = lhs->pn_head; pn; pn = pn->pn_next, ++i) {
/* MaybeEmitGroupAssignment requires lhs->pn_count <= rhs->pn_count. */

View File

@ -276,7 +276,6 @@ enum SrcNoteType {
SRC_PCDELTA = 7, /* distance forward from comma-operator to
next POP, or from CONDSWITCH to first CASE
opcode, etc. -- always a forward delta */
SRC_GROUPASSIGN = 7, /* SRC_DESTRUCT variant for [a, b] = [c, d] */
SRC_DESTRUCTLET = 7, /* JSOP_DUP starting a destructuring let
operation, with offset to JSOP_ENTERLET0 */
SRC_ASSIGNOP = 8, /* += or another assign-op follows */