summaryrefslogtreecommitdiff
path: root/js/src/vm/Debugger.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/vm/Debugger.h')
-rw-r--r--js/src/vm/Debugger.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/vm/Debugger.h b/js/src/vm/Debugger.h
index c8b84d8b1..56a6318ba 100644
--- a/js/src/vm/Debugger.h
+++ b/js/src/vm/Debugger.h
@@ -485,7 +485,7 @@ class Debugger : private mozilla::LinkedListElement<Debugger>
* Keep track of tracelogger last drained identifiers to know if there are
* lost events.
*/
-#ifdef NIGHTLY_BUILD
+#ifdef DEBUG
uint32_t traceLoggerLastDrainedSize;
uint32_t traceLoggerLastDrainedIteration;
#endif
@@ -629,7 +629,7 @@ class Debugger : private mozilla::LinkedListElement<Debugger>
static bool startTraceLogger(JSContext* cx, unsigned argc, Value* vp);
static bool endTraceLogger(JSContext* cx, unsigned argc, Value* vp);
static bool isCompilableUnit(JSContext* cx, unsigned argc, Value* vp);
-#ifdef NIGHTLY_BUILD
+#ifdef DEBUG
static bool setupTraceLogger(JSContext* cx, unsigned argc, Value* vp);
static bool drainTraceLogger(JSContext* cx, unsigned argc, Value* vp);
#endif