Bug 843684 - Patch up include to avoid compilation warnings when JS_THREADSAFE is not defined r=njn
authorNicholas D. Matsakis <nmatsakis@mozilla.com>
Mon, 25 Feb 2013 08:06:48 -0500
changeset 122837 a0a2f97ef16cd95350ad9750cb542ed2f3fb740c
parent 122820 c233837cce080ca6c49c1d8cb0ee0931eb1bbc4c
child 122904 06935f2db2679c12ba434c01ddf1d0bab62439c2
child 127360 e00fef12e2bd16e495e5c39039cb9f8cf9beeeb1
push id1387
push userphilringnalda@gmail.com
push dateTue, 26 Feb 2013 22:32:56 +0000
treeherderfx-team@ad4cc4e97774 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnjn
bugs843684
milestone22.0a1
Bug 843684 - Patch up include to avoid compilation warnings when JS_THREADSAFE is not defined r=njn
js/src/vm/ParallelDo.cpp
--- a/js/src/vm/ParallelDo.cpp
+++ b/js/src/vm/ParallelDo.cpp
@@ -14,19 +14,19 @@
 #include "vm/String.h"
 #include "vm/GlobalObject.h"
 #include "vm/ThreadPool.h"
 #include "vm/ForkJoin.h"
 
 #include "jsinterpinlines.h"
 #include "jsobjinlines.h"
 
-#if defined(JS_THREADSAFE) && defined(JS_ION)
+#ifdef JS_ION
 #include "ion/ParallelArrayAnalysis.h"
-#endif // THREADSAFE && ION
+#endif // ION
 
 #if defined(DEBUG) && defined(JS_THREADSAFE) && defined(JS_ION)
 #include "ion/Ion.h"
 #include "ion/MIR.h"
 #include "ion/MIRGraph.h"
 #include "ion/IonCompartment.h"
 
 #include "prprf.h"