diff options
Diffstat (limited to 'patches/patch-Source_WTF_wtf_Platform_h')
-rw-r--r-- | patches/patch-Source_WTF_wtf_Platform_h | 65 |
1 files changed, 35 insertions, 30 deletions
diff --git a/patches/patch-Source_WTF_wtf_Platform_h b/patches/patch-Source_WTF_wtf_Platform_h index 870a30f..e53c4ef 100644 --- a/patches/patch-Source_WTF_wtf_Platform_h +++ b/patches/patch-Source_WTF_wtf_Platform_h @@ -1,12 +1,20 @@ $OpenBSD: patch-Source_WTF_wtf_Platform_h,v 1.3 2013/11/14 16:47:00 ajacoutot Exp $ -Add defines for mips64*/hppa. +Add defines for sparc64*/hppa. Disable yarr jit on anything not having a jit https://bugs.webkit.org/show_bug.cgi?id=113638 ---- Source/WTF/wtf/Platform.h.orig Mon Nov 11 10:21:52 2013 -+++ Source/WTF/wtf/Platform.h Thu Nov 14 09:38:50 2013 -@@ -83,9 +83,14 @@ +chunk 4 +https://bugs.webkit.org/show_bug.cgi?id=126502 + +chunk 5 +http://trac.webkit.org/changeset/164220 +https://bugs.webkit.org/show_bug.cgi?id=128898 +(also check https://bugs.webkit.org/show_bug.cgi?id=128549) + +--- Source/WTF/wtf/Platform.h.orig Tue Feb 4 17:38:03 2014 ++++ Source/WTF/wtf/Platform.h Sat Feb 15 11:00:22 2014 +@@ -82,9 +82,14 @@ /* CPU(MIPS) - MIPS 32-bit */ /* Note: Only O32 ABI is tested, so we enable it for O32 ABI for now. */ @@ -23,30 +31,18 @@ https://bugs.webkit.org/show_bug.cgi?id=113638 #if defined(__MIPSEB__) #define WTF_CPU_BIG_ENDIAN 1 #endif -@@ -125,6 +130,11 @@ - #define WTF_CPU_SH4 1 - #endif - -+/* CPU(HPPA) - HP-PA */ -+#if defined(__hppa__) -+#define WTF_CPU_HPPA 1 -+#endif -+ - /* CPU(SPARC32) - SPARC 32-bit */ - #if defined(__sparc) && !defined(__arch64__) || defined(__sparcv8) - #define WTF_CPU_SPARC32 1 -@@ -323,7 +333,7 @@ +@@ -313,7 +318,7 @@ #endif /* ARM */ --#if CPU(ARM) || CPU(MIPS) || CPU(SH4) || CPU(SPARC) -+#if CPU(ARM) || CPU(MIPS) || CPU(SH4) || CPU(SPARC) || CPU(MIPS64) || CPU(SPARC64) +-#if CPU(ARM) || CPU(MIPS) || CPU(SH4) ++#if CPU(ARM) || CPU(MIPS) || CPU(SH4) || CPU(MIPS64) || CPU(SPARC64) #define WTF_CPU_NEEDS_ALIGNED_ACCESS 1 #endif -@@ -689,7 +699,8 @@ +@@ -641,7 +646,8 @@ || CPU(ALPHA) \ - || CPU(SPARC64) \ + || CPU(ARM64) \ || CPU(S390X) \ - || CPU(PPC64) + || CPU(PPC64) \ @@ -54,16 +50,25 @@ https://bugs.webkit.org/show_bug.cgi?id=113638 #define WTF_USE_JSVALUE64 1 #else #define WTF_USE_JSVALUE32_64 1 -@@ -855,7 +866,7 @@ - #define ENABLE_REGEXP_TRACING 0 - - /* Yet Another Regex Runtime - turned on by default for JIT enabled ports. */ --#if !defined(ENABLE_YARR_JIT) && (ENABLE(JIT) || ENABLE(LLINT_C_LOOP)) && !(OS(QNX) && PLATFORM(QT)) -+#if !defined(ENABLE_YARR_JIT) && (ENABLE(JIT)) && !(OS(QNX) && PLATFORM(QT)) - #define ENABLE_YARR_JIT 1 +@@ -708,7 +714,7 @@ + low-level interpreter. */ + #if !defined(ENABLE_LLINT) \ + && ENABLE(JIT) \ +- && (OS(DARWIN) || OS(LINUX) || OS(FREEBSD)) \ ++ && (OS(DARWIN) || OS(LINUX) || OS(FREEBSD) || OS(OPENBSD)) \ + && (PLATFORM(MAC) || PLATFORM(IOS) || PLATFORM(GTK)) \ + && (CPU(X86) || CPU(X86_64) || CPU(ARM_THUMB2) || CPU(ARM_TRADITIONAL) || CPU(ARM64) || CPU(MIPS) || CPU(SH4)) + #define ENABLE_LLINT 1 +@@ -716,7 +722,7 @@ - /* Setting this flag compares JIT results with interpreter results. */ -@@ -864,7 +875,7 @@ + #if !defined(ENABLE_DFG_JIT) && ENABLE(JIT) && !COMPILER(MSVC) + /* Enable the DFG JIT on X86 and X86_64. Only tested on Mac and GNU/Linux. */ +-#if (CPU(X86) || CPU(X86_64)) && (OS(DARWIN) || OS(LINUX)) ++#if (CPU(X86) || CPU(X86_64)) && (OS(DARWIN) || OS(LINUX) || OS(OPENBSD)) + #define ENABLE_DFG_JIT 1 + #endif + /* Enable the DFG JIT on ARMv7. Only tested on iOS and Qt/GTK+ Linux. */ +@@ -816,7 +822,7 @@ /* If either the JIT or the RegExp JIT is enabled, then the Assembler must be enabled as well: */ |