Fix comment typo.
authorBrendan Eich <brendan@mozilla.org>
Sun, 27 Jul 2008 00:11:30 +0100
changeset 17838 27dc0386e58d1035fc2b21026052f172a87ba3fc
parent 17837 f38fbde81ed186b3880bc39943cf9916c6958156
child 17839 1c4a4cad65bd0190b9cab4ea7ba75aa5faedce80
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone1.9.1a1pre
Fix comment typo.
js/src/jsemit.cpp
--- a/js/src/jsemit.cpp
+++ b/js/src/jsemit.cpp
@@ -5222,17 +5222,17 @@ js_EmitTree(JSContext *cx, JSCodeGenerat
         if (pn2) {
             /*
              * Top-level or called-from-a-native JS_Execute/EvaluateScript,
              * debugger, and eval frames may need the value of the ultimate
              * expression statement as the script's result, despite the fact
              * that it appears useless to the compiler.
              *
              * API users may also set the JSOPTION_NO_SCRIPT_RVAL option when
-             * calling JS_Compile* suppress JSOP_POPV.
+             * calling JS_Compile* to suppress JSOP_POPV.
              */
             useful = wantval =
                 !(cg->treeContext.flags & (TCF_IN_FUNCTION | TCF_NO_SCRIPT_RVAL));
             if (!useful) {
                 if (!CheckSideEffects(cx, cg, pn2, &useful))
                     return JS_FALSE;
             }