From 68ba91517021f0b8448fda75861e27d97d8ec2ee Mon Sep 17 00:00:00 2001 From: Hannes Verschore Date: Mon, 5 Nov 2012 17:27:42 +0100 Subject: [PATCH] Bug 808294: Fix tracelogger builds, r=dvander --- js/src/TraceLogging.h | 4 ++-- js/src/yarr/YarrJIT.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/js/src/TraceLogging.h b/js/src/TraceLogging.h index 9102fde0b6b..eebadfc1e14 100644 --- a/js/src/TraceLogging.h +++ b/js/src/TraceLogging.h @@ -23,8 +23,8 @@ class TraceLogging ION_SIDE_CANNON_START, ION_SIDE_CANNON_STOP, ION_SIDE_CANNON_BAIL, - YARR_YIT_START, - YARR_YIT_STOP, + YARR_JIT_START, + YARR_JIT_STOP, JM_SAFEPOINT_START, JM_SAFEPOINT_STOP, JM_START, diff --git a/js/src/yarr/YarrJIT.h b/js/src/yarr/YarrJIT.h index f73dec02352..15e5453d905 100644 --- a/js/src/yarr/YarrJIT.h +++ b/js/src/yarr/YarrJIT.h @@ -41,10 +41,10 @@ #define YARR_CALL __attribute__ ((regparm (3))) #else #define YARR_CALL +#endif -# if JS_TRACE_LOGGING -# include "TraceLogging.h" -# endif +#if JS_TRACE_LOGGING +#include "TraceLogging.h" #endif namespace JSC {