Bug 1342170 - Fixes jscompartment inlines for js/src/jit files. r=evilpie
MozReview-Commit-ID: B8Q63WeQVfN
--- 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