Fix typo (494956, r=self, thanks to <soubok@gmail.com> for bug report).

This commit is contained in:
Brendan Eich 2009-05-26 15:37:44 -07:00
parent 7a86e57c99
commit 4daef0e384

View File

@ -264,8 +264,8 @@ script_compile_sub(JSContext *cx, JSObject *obj, uintN argc, jsval *argv,
*/
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;