Bug 823283 - Followup comment typo fix. r=lumpy
authorJeff Walden <jwalden@mit.edu>
Tue, 25 Dec 2012 14:16:24 -0500
changeset 117110 c7da4138801e1b217d75e64bf0a41803676806e1
parent 117109 6e5acaff8239634f6ccc30107768c87038e799f1
child 117111 f9f27086d5de4f6a1035abdfa8339ea3f58c5398
push id20315
push userjwalden@mit.edu
push dateThu, 27 Dec 2012 17:36:05 +0000
treeherdermozilla-inbound@268fe9874d9d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslumpy
bugs823283
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 823283 - Followup comment typo fix. r=lumpy
js/src/frontend/BytecodeEmitter.cpp
--- a/js/src/frontend/BytecodeEmitter.cpp
+++ b/js/src/frontend/BytecodeEmitter.cpp
@@ -1180,17 +1180,17 @@ TryConvertToGname(BytecodeEmitter *bce, 
     }
     if (bce->script->compileAndGo &&
         bce->hasGlobalScope &&
         !(bce->sc->isFunction && bce->sc->asFunbox()->mightAliasLocals()) &&
         !pn->isDeoptimized() &&
         !bce->sc->strict)
     {
         // If you change anything here, you might also need to change
-        // js::CheckUndeclaredVarAssignment.
+        // js::ReportIfUndeclaredVarAssignment.
         switch (*op) {
           case JSOP_NAME:     *op = JSOP_GETGNAME; break;
           case JSOP_SETNAME:  *op = JSOP_SETGNAME; break;
           case JSOP_INCNAME:  *op = JSOP_INCGNAME; break;
           case JSOP_NAMEINC:  *op = JSOP_GNAMEINC; break;
           case JSOP_DECNAME:  *op = JSOP_DECGNAME; break;
           case JSOP_NAMEDEC:  *op = JSOP_GNAMEDEC; break;
           case JSOP_SETCONST: