Bug 1342170 - Fixes jscompartment inlines for js/src/jit files. r=evilpie
authorYury Delendik <ydelendik@mozilla.com>
Thu, 23 Feb 2017 14:07:27 -0600
changeset 489447 405f930ae1b7a6b1294ca7bcb6587e053afaf4d9
parent 489446 5ac53d4a98ea89b7b0fbdb744ecceaef158c7c1d
child 489448 974fa9a5049d22b70c025df927811f227da40c5d
push id46822
push userbmo:emilio+bugs@crisal.io
push dateFri, 24 Feb 2017 20:50:08 +0000
reviewersevilpie
bugs1342170
milestone54.0a1
Bug 1342170 - Fixes jscompartment inlines for js/src/jit files. r=evilpie MozReview-Commit-ID: B8Q63WeQVfN
js/src/jit/BaselineCacheIRCompiler.cpp
js/src/jit/CacheIRCompiler.cpp
js/src/jit/CacheIRSpewer.cpp
js/src/jit/IonCacheIRCompiler.cpp
js/src/jit/JitSpewer.cpp
--- a/js/src/jit/BaselineCacheIRCompiler.cpp
+++ b/js/src/jit/BaselineCacheIRCompiler.cpp
@@ -7,16 +7,17 @@
 #include "jit/BaselineCacheIRCompiler.h"
 
 #include "jit/CacheIR.h"
 #include "jit/Linker.h"
 #include "jit/SharedICHelpers.h"
 #include "proxy/Proxy.h"
 
 #include "jscntxtinlines.h"
+#include "jscompartmentinlines.h"
 
 #include "jit/MacroAssembler-inl.h"
 
 using namespace js;
 using namespace js::jit;
 
 using mozilla::Maybe;
 
--- a/js/src/jit/CacheIRCompiler.cpp
+++ b/js/src/jit/CacheIRCompiler.cpp
@@ -3,16 +3,18 @@
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "jit/CacheIRCompiler.h"
 
 #include "jit/IonIC.h"
 
+#include "jscompartmentinlines.h"
+
 #include "jit/MacroAssembler-inl.h"
 
 using namespace js;
 using namespace js::jit;
 
 using mozilla::Maybe;
 
 ValueOperand
--- a/js/src/jit/CacheIRSpewer.cpp
+++ b/js/src/jit/CacheIRSpewer.cpp
@@ -17,16 +17,17 @@
 #else
 #include <unistd.h>
 #endif
 
 #include <stdarg.h>
 
 #include "jsfun.h"
 #include "jsscript.h"
+#include "jscompartmentinlines.h"
 
 using namespace js;
 using namespace js::jit;
 
 CacheIRSpewer cacheIRspewer;
 
 CacheIRSpewer&
 jit::GetCacheIRSpewerSingleton()
--- a/js/src/jit/IonCacheIRCompiler.cpp
+++ b/js/src/jit/IonCacheIRCompiler.cpp
@@ -9,16 +9,18 @@
 #include "jit/CacheIRCompiler.h"
 #include "jit/IonCaches.h"
 #include "jit/IonIC.h"
 
 #include "jit/Linker.h"
 #include "jit/SharedICHelpers.h"
 #include "proxy/Proxy.h"
 
+#include "jscompartmentinlines.h"
+
 #include "jit/MacroAssembler-inl.h"
 
 using namespace js;
 using namespace js::jit;
 
 using mozilla::DebugOnly;
 
 namespace js {
--- a/js/src/jit/JitSpewer.cpp
+++ b/js/src/jit/JitSpewer.cpp
@@ -25,16 +25,18 @@
 #include "jit/MIRGenerator.h"
 #include "jit/MIRGraph.h"
 
 #include "threading/LockGuard.h"
 
 #include "vm/HelperThreads.h"
 #include "vm/MutexIDs.h"
 
+#include "jscompartmentinlines.h"
+
 #ifndef JIT_SPEW_DIR
 # if defined(_WIN32)
 #  define JIT_SPEW_DIR "."
 # elif defined(__ANDROID__)
 #  define JIT_SPEW_DIR "/data/local/tmp"
 # else
 #  define JIT_SPEW_DIR "/tmp"
 # endif