2013-12-02 19:44:15 +00:00
|
|
|
diff -up qtscript-opensource-src-5.2.0-rc1/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h.s390 qtscript-opensource-src-5.2.0-rc1/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
|
|
|
|
--- qtscript-opensource-src-5.2.0-rc1/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h.s390 2013-11-26 19:00:28.000000000 -0600
|
|
|
|
+++ qtscript-opensource-src-5.2.0-rc1/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h 2013-12-02 13:43:02.144456614 -0600
|
2013-11-25 13:33:39 +00:00
|
|
|
@@ -189,6 +189,18 @@
|
|
|
|
#define WTF_CPU_SPARC 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
+/* CPU(S390X) - S390 64-bit */
|
|
|
|
+#if defined(__s390x__)
|
|
|
|
+#define WTF_CPU_S390X 1
|
|
|
|
+#define WTF_CPU_BIG_ENDIAN 1
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+/* CPU(S390) - S390 32-bit */
|
|
|
|
+#if defined(__s390__) && !defined(__s390x__)
|
|
|
|
+#define WTF_CPU_S390 1
|
|
|
|
+#define WTF_CPU_BIG_ENDIAN 1
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
/* CPU(X86) - i386 / x86 32-bit */
|
|
|
|
#if defined(__i386__) \
|
|
|
|
|| defined(i386) \
|
2013-12-02 19:44:15 +00:00
|
|
|
@@ -898,7 +910,7 @@
|
2013-11-25 13:33:39 +00:00
|
|
|
#if !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32) && !defined(WTF_USE_JSVALUE32_64)
|
2013-12-02 19:44:15 +00:00
|
|
|
#if (CPU(X86_64) && (OS(UNIX) || OS(WINDOWS) || OS(SOLARIS) || OS(HPUX))) || (CPU(IA64) && !CPU(IA64_32)) || CPU(ALPHA) || CPU(AIX64) || CPU(SPARC64) || CPU(MIPS64)
|
2013-11-25 13:33:39 +00:00
|
|
|
#define WTF_USE_JSVALUE64 1
|
|
|
|
-#elif CPU(ARM) || CPU(PPC64)
|
|
|
|
+#elif CPU(ARM) || CPU(PPC64) || CPU(S390X)
|
|
|
|
#define WTF_USE_JSVALUE32 1
|
|
|
|
#elif OS(WINDOWS) && COMPILER(MINGW)
|
|
|
|
/* Using JSVALUE32_64 causes padding/alignement issues for JITStubArg
|