Bug 596338 - Fix --disable-methodjit --disable-tracejit builds (r=ginn.chen)
authorBill McCloskey <wmccloskey@mozilla.com>
Fri, 11 Mar 2011 15:40:05 -0800
changeset 64283 cf342441a8d530854fca99d367a5ae2142e5c6fc
parent 64282 c799cdef4d1eac25a459b931dfc4e27bad96221f
child 64284 518b607a06cdc359d1ecdb0aae790ad1b21b9796
push id19328
push usercleary@mozilla.com
push dateTue, 29 Mar 2011 21:56:11 +0000
treeherdermozilla-central@3d0784802ce6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersginn.chen
bugs596338
milestone2.0b13pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 596338 - Fix --disable-methodjit --disable-tracejit builds (r=ginn.chen)
js/src/methodjit/Logging.h
--- a/js/src/methodjit/Logging.h
+++ b/js/src/methodjit/Logging.h
@@ -33,21 +33,24 @@
  * use your version of this file under the terms of the MPL, indicate your
  * decision by deleting the provisions above and replace them with the notice
  * and other provisions required by the GPL or the LGPL. If you do not delete
  * the provisions above, a recipient may use your version of this file under
  * the terms of any one of the MPL, the GPL or the LGPL.
  *
  * ***** END LICENSE BLOCK ***** */
 
-#if !defined jsjaeger_logging_h__ && (defined JS_METHODJIT || defined JS_TRACER)
+#if !defined jsjaeger_logging_h__
 #define jsjaeger_logging_h__
 
+#include "assembler/wtf/Platform.h"
 #include "prmjtime.h"
 
+#if defined(JS_METHODJIT) || ENABLE_YARR_JIT
+
 namespace js {
 
 #define JSPEW_CHAN_MAP(_)   \
     _(Abort)                \
     _(Scripts)              \
     _(Prof)                 \
     _(JSOps)                \
     _(Insns)                \
@@ -105,8 +108,10 @@ static inline void JaegerSpew(JaegerSpew
 }
 
 #endif
 
 }
 
 #endif
 
+#endif
+