Bug 633023: Add -p option to xpcshell. r=billm

This commit is contained in:
Jesse Ruderman 2011-02-12 15:57:54 -08:00
parent d4edb54e54
commit ab5a5375c3

View File

@ -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();
}