Bug 928333 followup - dumpHead() should only be defined in debug mode. r=me

This commit is contained in:
Benjamin Peterson 2013-10-19 19:15:41 -04:00
parent 22a457203f
commit d2fa484041

View File

@ -4402,9 +4402,11 @@ static const JSFunctionSpecWithHelp fuzzing_unsafe_functions[] = {
" Get a self-hosted value by its name. Note that these values don't get \n"
" cached, so repeatedly getting the same value creates multiple distinct clones."),
#ifdef DEBUG
JS_FN_HELP("dumpHeap", DumpHeap, 0, 0,
"dumpHeap([fileName[, start[, toFind[, maxDepth[, toIgnore]]]]])",
" Interface to JS_DumpHeap with output sent to file."),
#endif
JS_FN_HELP("parent", Parent, 1, 0,
"parent(obj)",