Title: [93950] trunk/Source/_javascript_Core
- Revision
- 93950
- Author
- [email protected]
- Date
- 2011-08-28 12:24:40 -0700 (Sun, 28 Aug 2011)
Log Message
Fix build error when compiling with MinGW-w64 by disabling JIT
on Windows 64-bit
https://bugs.webkit.org/show_bug.cgi?id=61235
Patch by Jonathan Liu <[email protected]> on 2011-08-28
Reviewed by Gavin Barraclough.
The fixed mmap executable allocator for JIT on x86_64 requires
sys/mman.h which is not available on Windows.
* wtf/Platform.h:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (93949 => 93950)
--- trunk/Source/_javascript_Core/ChangeLog 2011-08-28 19:14:17 UTC (rev 93949)
+++ trunk/Source/_javascript_Core/ChangeLog 2011-08-28 19:24:40 UTC (rev 93950)
@@ -1,3 +1,16 @@
+2011-08-28 Jonathan Liu <[email protected]>
+
+ Fix build error when compiling with MinGW-w64 by disabling JIT
+ on Windows 64-bit
+ https://bugs.webkit.org/show_bug.cgi?id=61235
+
+ Reviewed by Gavin Barraclough.
+
+ The fixed mmap executable allocator for JIT on x86_64 requires
+ sys/mman.h which is not available on Windows.
+
+ * wtf/Platform.h:
+
2011-08-27 Filip Pizlo <[email protected]>
JSC::Executable is inconsistent about using weak handle finalizers
Modified: trunk/Source/_javascript_Core/wtf/Platform.h (93949 => 93950)
--- trunk/Source/_javascript_Core/wtf/Platform.h 2011-08-28 19:14:17 UTC (rev 93949)
+++ trunk/Source/_javascript_Core/wtf/Platform.h 2011-08-28 19:24:40 UTC (rev 93950)
@@ -935,8 +935,8 @@
#define ENABLE_JIT 0
#endif
-/* JIT is not implemented for 64 bit on MSVC */
-#if !defined(ENABLE_JIT) && COMPILER(MSVC) && CPU(X86_64)
+/* JIT is not implemented for Windows 64-bit */
+#if !defined(ENABLE_JIT) && OS(WINDOWS) && CPU(X86_64)
#define ENABLE_JIT 0
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes