Followup to changeset f9ad6d736430 (for bug 493232): fix a stale comment. r=brendan in IRC.
authorJason Orendorff <jorendorff@mozilla.com>
Wed, 27 May 2009 17:48:39 -0500
changeset 28815 b07ebbc4784e22123e5c1d0fbfb18a07a5efdb57
parent 28814 f9ad6d736430d7faf3234c2aef928882c4b812e5
child 28816 e7a08f46b514cd7fc74fe09107f94ae4e144f314
push id7273
push userrsayre@mozilla.com
push dateThu, 28 May 2009 22:52:43 +0000
treeherdermozilla-central@ac3e487c5fff [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbrendan
bugs493232
milestone1.9.2a1pre
Followup to changeset f9ad6d736430 (for bug 493232): fix a stale comment. r=brendan in IRC.
js/src/jsparse.cpp
--- a/js/src/jsparse.cpp
+++ b/js/src/jsparse.cpp
@@ -3297,17 +3297,17 @@ NoteLValue(JSContext *cx, JSParseNode *p
             dflag = PND_INITIALIZED;
         }
 
         dn->pn_dflags |= dflag;
 
         if (dn->frameLevel() != tc->staticLevel) {
             /*
              * The above condition takes advantage of the all-ones nature of
-             * FREE_UPVAR_COOKIE, and the reserved frame level JS_BITMASK(16).
+             * FREE_UPVAR_COOKIE, and the reserved level FREE_STATIC_LEVEL.
              * We make a stronger assertion by excluding FREE_UPVAR_COOKIE.
              */
             JS_ASSERT_IF(dn->pn_cookie != FREE_UPVAR_COOKIE,
                          dn->frameLevel() < tc->staticLevel);
             tc->flags |= TCF_FUN_SETS_OUTER_NAME;
         }
     }