diff --git a/js/src/xpconnect/shell/xpcshell.cpp b/js/src/xpconnect/shell/xpcshell.cpp index 334a396d98f..7b85c81c068 100644 --- a/js/src/xpconnect/shell/xpcshell.cpp +++ b/js/src/xpconnect/shell/xpcshell.cpp @@ -1322,6 +1322,9 @@ ProcessArgs(JSContext *cx, JSObject *obj, char **argv, int argc) case 'm': JS_ToggleOptions(cx, JSOPTION_METHODJIT); break; + case 'p': + JS_ToggleOptions(cx, JSOPTION_PROFILING); + break; default: return usage(); }