Created
October 15, 2009 14:11
-
-
Save torarnv/210972 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git i/JavaScriptCore/wtf/Platform.h w/JavaScriptCore/wtf/Platform.h | |
index 3315d96..393f82c 100644 | |
--- i/JavaScriptCore/wtf/Platform.h | |
+++ w/JavaScriptCore/wtf/Platform.h | |
@@ -698,15 +698,17 @@ | |
#endif | |
#if !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32) && !defined(WTF_USE_JSVALUE32_64) | |
-#if PLATFORM(X86_64) && (PLATFORM(DARWIN) || PLATFORM(LINUX)) | |
-#define WTF_USE_JSVALUE64 1 | |
-#elif PLATFORM(ARM) || PLATFORM(PPC64) | |
-#define WTF_USE_JSVALUE32 1 | |
-#elif PLATFORM(WIN_OS) && COMPILER(MINGW) | |
+#if PLATFORM(X86_64) | |
+#if PLATFORM(WIN_OS) && COMPILER(MINGW) | |
/* Using JSVALUE32_64 causes padding/alignement issues for JITStubArg | |
on MinGW. See https://bugs.webkit.org/show_bug.cgi?id=29268 */ | |
#define WTF_USE_JSVALUE32 1 | |
#else | |
+#define WTF_USE_JSVALUE64 1 | |
+#endif | |
+#elif PLATFORM(ARM) || PLATFORM(PPC64) | |
+#define WTF_USE_JSVALUE32 1 | |
+#else | |
#define WTF_USE_JSVALUE32_64 1 | |
#endif | |
#endif /* !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32) && !defined(WTF_USE_JSVALUE32_64) */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment