Fix typo (494956, r=self, thanks to <soubok@gmail.com> for bug report).
authorBrendan Eich <brendan@mozilla.org>
Tue, 26 May 2009 15:36:32 -0700
changeset 28811 edb390c96ca463303819833792464eeb6902c0ab
parent 28810 7058d359fdc8728050c5f3e6a5011807711083c9
child 28812 be2c8bf0824c6bfe5faabe77add350cd4fe85571
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)
reviewersself, thanks
bugs494956
milestone1.9.2a1pre
Fix typo (494956, r=self, thanks to <soubok@gmail.com> for bug report).
js/src/jsscript.cpp
--- a/js/src/jsscript.cpp
+++ b/js/src/jsscript.cpp
@@ -259,18 +259,18 @@ script_compile_sub(JSContext *cx, JSObje
      * Unlike jsobj.c:obj_eval, however, we do not pass TCF_COMPILE_N_GO in
      * tcflags and use NULL for the callerFrame argument, because compilation
      * is here separated from execution, and the run-time scope chain may not
      * match the compile-time. TCF_COMPILE_N_GO is tested in jsemit.c and
      * jsparse.c to optimize based on identity of run- and compile-time scope.
      */
     tcflags = 0;
     script = JSCompiler::compileScript(cx, scopeobj, NULL, principals, tcflags,
-                                      STRING_CHARS(str), JSSTRING_LENGTH(str),
-                                      NULL, file, line);
+                                       JSSTRING_CHARS(str), JSSTRING_LENGTH(str),
+                                       NULL, file, line);
     if (!script)
         return JS_FALSE;
 
     JS_LOCK_OBJ(cx, obj);
     execDepth = GetScriptExecDepth(cx, obj);
 
     /*
      * execDepth must be 0 to allow compilation here, otherwise the JSScript