Skip to content

Instantly share code, notes, and snippets.

@torarnv
Created October 15, 2009 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save torarnv/210972 to your computer and use it in GitHub Desktop.
Save torarnv/210972 to your computer and use it in GitHub Desktop.
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