mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 838813 part 4 - Remove SRC_GROUPASSIGN. r=njn.
--HG-- extra : rebase_source : bac84df8d507d48c8a71983aa7aa17617d33baf4
This commit is contained in:
parent
8674149cab
commit
9b0793dc37
@ -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. */
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user