From ea16961df10d6ee0b45942bef4657fe553b39d48 Mon Sep 17 00:00:00 2001 From: Gabriel Russell Date: Tue, 2 Jan 2018 14:22:35 -0500 Subject: SERVER-28123 enable building spidermonkey on iOS --- .../aarch64/tvOS/build/Unified_cpp_js_src18.cpp | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 src/third_party/mozjs-45/platform/aarch64/tvOS/build/Unified_cpp_js_src18.cpp (limited to 'src/third_party/mozjs-45/platform/aarch64/tvOS/build/Unified_cpp_js_src18.cpp') diff --git a/src/third_party/mozjs-45/platform/aarch64/tvOS/build/Unified_cpp_js_src18.cpp b/src/third_party/mozjs-45/platform/aarch64/tvOS/build/Unified_cpp_js_src18.cpp new file mode 100644 index 00000000000..7015fa2f76d --- /dev/null +++ b/src/third_party/mozjs-45/platform/aarch64/tvOS/build/Unified_cpp_js_src18.cpp @@ -0,0 +1,55 @@ +#define MOZ_UNIFIED_BUILD +#include "jit/TypedObjectPrediction.cpp" +#ifdef PL_ARENA_CONST_ALIGN_MASK +#error "jit/TypedObjectPrediction.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode." +#undef PL_ARENA_CONST_ALIGN_MASK +#endif +#ifdef INITGUID +#error "jit/TypedObjectPrediction.cpp defines INITGUID, so it cannot be built in unified mode." +#undef INITGUID +#endif +#include "jit/VMFunctions.cpp" +#ifdef PL_ARENA_CONST_ALIGN_MASK +#error "jit/VMFunctions.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode." +#undef PL_ARENA_CONST_ALIGN_MASK +#endif +#ifdef INITGUID +#error "jit/VMFunctions.cpp defines INITGUID, so it cannot be built in unified mode." +#undef INITGUID +#endif +#include "jit/ValueNumbering.cpp" +#ifdef PL_ARENA_CONST_ALIGN_MASK +#error "jit/ValueNumbering.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode." +#undef PL_ARENA_CONST_ALIGN_MASK +#endif +#ifdef INITGUID +#error "jit/ValueNumbering.cpp defines INITGUID, so it cannot be built in unified mode." +#undef INITGUID +#endif +#include "jit/none/Trampoline-none.cpp" +#ifdef PL_ARENA_CONST_ALIGN_MASK +#error "jit/none/Trampoline-none.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode." +#undef PL_ARENA_CONST_ALIGN_MASK +#endif +#ifdef INITGUID +#error "jit/none/Trampoline-none.cpp defines INITGUID, so it cannot be built in unified mode." +#undef INITGUID +#endif +#include "jit/shared/BaselineCompiler-shared.cpp" +#ifdef PL_ARENA_CONST_ALIGN_MASK +#error "jit/shared/BaselineCompiler-shared.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode." +#undef PL_ARENA_CONST_ALIGN_MASK +#endif +#ifdef INITGUID +#error "jit/shared/BaselineCompiler-shared.cpp defines INITGUID, so it cannot be built in unified mode." +#undef INITGUID +#endif +#include "jit/shared/CodeGenerator-shared.cpp" +#ifdef PL_ARENA_CONST_ALIGN_MASK +#error "jit/shared/CodeGenerator-shared.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode." +#undef PL_ARENA_CONST_ALIGN_MASK +#endif +#ifdef INITGUID +#error "jit/shared/CodeGenerator-shared.cpp defines INITGUID, so it cannot be built in unified mode." +#undef INITGUID +#endif -- cgit v1.2.1