Title: [170843] trunk/Source
Revision
170843
Author
zandober...@gmail.com
Date
2014-07-07 02:04:03 -0700 (Mon, 07 Jul 2014)

Log Message

Enable ARMv7 disassembler for the GTK port
https://bugs.webkit.org/show_bug.cgi?id=134676

Reviewed by Benjamin Poulain.


Source/_javascript_Core: 
* CMakeLists.txt: Add ARMv7DOpcode.cpp file to the build.
* disassembler/ARMv7/ARMv7DOpcode.cpp: Include the string.h header for strlen().

Source/WTF: 
* wtf/Platform.h: Enable the ARMv7 disassembler for the GTK port when
targeting the ARMv7 architecture.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/CMakeLists.txt (170842 => 170843)


--- trunk/Source/_javascript_Core/CMakeLists.txt	2014-07-07 07:38:48 UTC (rev 170842)
+++ trunk/Source/_javascript_Core/CMakeLists.txt	2014-07-07 09:04:03 UTC (rev 170843)
@@ -207,6 +207,7 @@
     dfg/DFGWatchpointCollectionPhase.cpp
     dfg/DFGWorklist.cpp
 
+    disassembler/ARMv7/ARMv7DOpcode.cpp
     disassembler/ARMv7Disassembler.cpp
     disassembler/Disassembler.cpp
     disassembler/LLVMDisassembler.cpp

Modified: trunk/Source/_javascript_Core/ChangeLog (170842 => 170843)


--- trunk/Source/_javascript_Core/ChangeLog	2014-07-07 07:38:48 UTC (rev 170842)
+++ trunk/Source/_javascript_Core/ChangeLog	2014-07-07 09:04:03 UTC (rev 170843)
@@ -1,3 +1,13 @@
+2014-07-07  Zan Dobersek  <zdober...@igalia.com>
+
+        Enable ARMv7 disassembler for the GTK port
+        https://bugs.webkit.org/show_bug.cgi?id=134676
+
+        Reviewed by Benjamin Poulain.
+
+        * CMakeLists.txt: Add ARMv7DOpcode.cpp file to the build.
+        * disassembler/ARMv7/ARMv7DOpcode.cpp: Include the string.h header for strlen().
+
 2014-07-06  Benjamin Poulain  <benja...@webkit.org>
 
         [ARMv7] Use 16 bits instructions for push/pop when possible

Modified: trunk/Source/_javascript_Core/disassembler/ARMv7/ARMv7DOpcode.cpp (170842 => 170843)


--- trunk/Source/_javascript_Core/disassembler/ARMv7/ARMv7DOpcode.cpp	2014-07-07 07:38:48 UTC (rev 170842)
+++ trunk/Source/_javascript_Core/disassembler/ARMv7/ARMv7DOpcode.cpp	2014-07-07 09:04:03 UTC (rev 170843)
@@ -32,6 +32,7 @@
 #include <stdarg.h>
 #include <stdint.h>
 #include <stdio.h>
+#include <string.h>
 
 namespace JSC { namespace ARMv7Disassembler {
 

Modified: trunk/Source/WTF/ChangeLog (170842 => 170843)


--- trunk/Source/WTF/ChangeLog	2014-07-07 07:38:48 UTC (rev 170842)
+++ trunk/Source/WTF/ChangeLog	2014-07-07 09:04:03 UTC (rev 170843)
@@ -1,3 +1,13 @@
+2014-07-07  Zan Dobersek  <zdober...@igalia.com>
+
+        Enable ARMv7 disassembler for the GTK port
+        https://bugs.webkit.org/show_bug.cgi?id=134676
+
+        Reviewed by Benjamin Poulain.
+
+        * wtf/Platform.h: Enable the ARMv7 disassembler for the GTK port when
+        targeting the ARMv7 architecture.
+
 2014-07-06  Yoav Weiss  <y...@yoav.ws>
 
         Turn on img@sizes compile flag

Modified: trunk/Source/WTF/wtf/Platform.h (170842 => 170843)


--- trunk/Source/WTF/wtf/Platform.h	2014-07-07 07:38:48 UTC (rev 170842)
+++ trunk/Source/WTF/wtf/Platform.h	2014-07-07 09:04:03 UTC (rev 170843)
@@ -687,7 +687,7 @@
 #define WTF_USE_ARM64_DISASSEMBLER 1
 #endif
 
-#if !defined(WTF_USE_ARMV7_DISASSEMBLER) && ENABLE(JIT) && PLATFORM(IOS) && CPU(ARM_THUMB2)
+#if !defined(WTF_USE_ARMV7_DISASSEMBLER) && ENABLE(JIT) && (PLATFORM(IOS) || PLATFORM(GTK)) && CPU(ARM_THUMB2)
 #define WTF_USE_ARMV7_DISASSEMBLER 1
 #endif
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to