Bug 838813 part 5 - Remove SRC_DESTRUCT. r=njn.

--HG--
extra : rebase_source : b070a9429ff3e72ce94e314734c940d9248b37a6
This commit is contained in:
Jason Orendorff 2013-02-08 16:15:42 -06:00
parent 8911f60a07
commit 862666a8ea
2 changed files with 0 additions and 5 deletions

View File

@ -3027,9 +3027,6 @@ EmitDestructuringOps(JSContext *cx, BytecodeEmitter *bce, ptrdiff_t declType, Pa
ptrdiff_t index = NewSrcNote2(cx, bce, SRC_DESTRUCTLET, 0);
if (index < 0 || !letNotes->append(cx, bce, bce->offset(), (unsigned)index))
return false;
} else {
if (NewSrcNote2(cx, bce, SRC_DESTRUCT, declType) < 0)
return false;
}
/*

View File

@ -271,8 +271,6 @@ enum SrcNoteType {
array literal: [1,2,,];
JSOP_DUP continuing destructuring pattern;
JSOP_POP at end of for-in */
SRC_DESTRUCT = 6, /* JSOP_DUP starting a destructuring assignment
operation, with SRC_DECL_* offset operand */
SRC_PCDELTA = 7, /* distance forward from comma-operator to
next POP, or from CONDSWITCH to first CASE
opcode, etc. -- always a forward delta */