From 44021cce01b05b9fea3a1d3ee7940b45ac0c92c2 Mon Sep 17 00:00:00 2001 From: Paul Biggar Date: Mon, 13 Dec 2010 16:22:57 -0800 Subject: [PATCH] Bug 612312 - Replace DEBUG_ARRAYS with plain DEBUG (r=cdleary) --- js/src/shell/js.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/shell/js.cpp b/js/src/shell/js.cpp index 41cb67363a36..f2ff74c2eec2 100644 --- a/js/src/shell/js.cpp +++ b/js/src/shell/js.cpp @@ -4288,7 +4288,7 @@ static JSFunctionSpec shell_functions[] = { JS_FN("startTraceVis", StartTraceVisNative, 1,0), JS_FN("stopTraceVis", StopTraceVisNative, 0,0), #endif -#ifdef DEBUG_ARRAYS +#ifdef DEBUG JS_FN("arrayInfo", js_ArrayInfo, 1,0), #endif #ifdef JS_THREADSAFE @@ -4415,7 +4415,7 @@ static const char *const shell_help_messages[] = { "startTraceVis(filename) Start TraceVis recording (stops any current recording)", "stopTraceVis() Stop TraceVis recording", #endif -#ifdef DEBUG_ARRAYS +#ifdef DEBUG "arrayInfo(a1, a2, ...) Report statistics about arrays", #endif #ifdef JS_THREADSAFE