From a559bca4927cc3edbf446f3070e6937bdd1c4f3b Mon Sep 17 00:00:00 2001 From: Denis Palmeiro Date: Wed, 22 May 2019 15:59:05 +0000 Subject: [PATCH] Bug 1553362 - Add empty spew inline functions for when tracelogger is disabled r=iain The new trace logger spew routines do not have a corresponding empty inline version for when --disable-trace-logging is used. Differential Revision: https://phabricator.services.mozilla.com/D32156 --HG-- extra : moz-landing-system : lando --- js/public/TraceLoggerAPI.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/public/TraceLoggerAPI.h b/js/public/TraceLoggerAPI.h index 8dadcf78fd8a..b26c9118b6f2 100644 --- a/js/public/TraceLoggerAPI.h +++ b/js/public/TraceLoggerAPI.h @@ -163,6 +163,8 @@ inline bool TraceLoggerSupported() { return false; } inline void StartTraceLogger(JSContext* cx) {} inline void StopTraceLogger(JSContext* cx) {} inline void ResetTraceLogger(void) {} +inline void SpewTraceLoggerThread(JSContext* cx) {} +inline void SpewTraceLoggerForCurrentProcess() {} inline size_t TraceLoggerDictionaryImpl::NextChunk(JSContext* cx, size_t* dataIndex, ImplType buffer[],