Commit 64a5336a authored by Jason Orendorff's avatar Jason Orendorff
Browse files

Bug 648175 - Remove JSOP_FOR*. Second second landing, to coin a phrase. r=dvander.

--HG--
extra : rebase_source : f893091e91a5b409c38ba08ddccfa0a6aa0a92c8
parent 17a0ee00
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -457,7 +457,6 @@ Script::analyze(JSContext *cx, JSScript *script)
          case JSOP_DECNAME:
          case JSOP_NAMEINC:
          case JSOP_NAMEDEC:
          case JSOP_FORNAME:
            usesScope = true;
            break;

@@ -579,8 +578,7 @@ Script::analyze(JSContext *cx, JSScript *script)
            break;
          }

          case JSOP_SETLOCAL:
          case JSOP_FORLOCAL: {
          case JSOP_SETLOCAL: {
            uint32 local = GET_SLOTNO(pc);

            /*
+1 −1
Original line number Diff line number Diff line
@@ -1143,7 +1143,7 @@ struct JSContext
    /* Random number generator state, used by jsmath.cpp. */
    int64               rngSeed;

    /* Location to stash the iteration value between JSOP_MOREITER and JSOP_FOR*. */
    /* Location to stash the iteration value between JSOP_MOREITER and JSOP_ITERNEXT. */
    js::Value           iterValue;

#ifdef JS_TRACER
+233 −354

File changed.

Preview size limit exceeded, changes collapsed.

+11 −79

File changed.

Preview size limit exceeded, changes collapsed.

+45 −75

File changed.

Preview size limit exceeded, changes collapsed.

Loading