diff options
Diffstat (limited to 'js/src/shell/js.cpp')
-rw-r--r-- | js/src/shell/js.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/shell/js.cpp b/js/src/shell/js.cpp index 755fb73f1a..749e7a79a8 100644 --- a/js/src/shell/js.cpp +++ b/js/src/shell/js.cpp @@ -4577,7 +4577,7 @@ DecompileFunction(JSContext* cx, unsigned argc, Value* vp) return true; } RootedFunction fun(cx, &args[0].toObject().as<JSFunction>()); - JSString* result = JS_DecompileFunction(cx, fun, 0); + JSString* result = JS_DecompileFunction(cx, fun); if (!result) return false; args.rval().setString(result); @@ -4599,7 +4599,7 @@ DecompileThisScript(JSContext* cx, unsigned argc, Value* vp) JSAutoCompartment ac(cx, iter.script()); RootedScript script(cx, iter.script()); - JSString* result = JS_DecompileScript(cx, script, "test", 0); + JSString* result = JS_DecompileScript(cx, script); if (!result) return false; |