Bug 973296 - Pull JitCommon.h explicitly for CALL_GENERATED_CODE. r=jandem
authorJan Beich <jbeich@tormail.org>
Tue, 18 Feb 2014 08:59:34 -0500
changeset 169290 b2cf01ce8cfd1a2d289bf8e5487d743d9666e76b
parent 169289 72ae6ca3c92e20ce0677d5c8ce69ab22417d331e
child 169291 368275eecfbabf80cd6bdfb83ac39b5d846df711
push id39913
push userryanvm@gmail.com
push dateTue, 18 Feb 2014 13:59:28 +0000
treeherdermozilla-inbound@b2cf01ce8cfd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjandem
bugs973296
milestone30.0a1
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 973296 - Pull JitCommon.h explicitly for CALL_GENERATED_CODE. r=jandem
js/src/vm/ForkJoin.cpp
--- a/js/src/vm/ForkJoin.cpp
+++ b/js/src/vm/ForkJoin.cpp
@@ -20,22 +20,25 @@
 
 #include "builtin/TypedObject.h"
 
 #ifdef JS_THREADSAFE
 # include "jit/BaselineJIT.h"
 # include "vm/Monitor.h"
 #endif
 
-#if defined(DEBUG) && defined(JS_THREADSAFE) && defined(JS_ION)
-# include "jit/Ion.h"
-# include "jit/JitCompartment.h"
-# include "jit/MIR.h"
-# include "jit/MIRGraph.h"
-#endif // DEBUG && THREADSAFE && ION
+#if defined(JS_THREADSAFE) && defined(JS_ION)
+# include "jit/JitCommon.h"
+# ifdef DEBUG
+#  include "jit/Ion.h"
+#  include "jit/JitCompartment.h"
+#  include "jit/MIR.h"
+#  include "jit/MIRGraph.h"
+# endif
+#endif // THREADSAFE && ION
 
 #include "vm/Interpreter-inl.h"
 
 using namespace js;
 using namespace js::parallel;
 using namespace js::jit;
 
 using mozilla::ThreadLocal;