Enable the DFG JIT on X86-64 Linux platforms
authorossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Nov 2011 13:55:41 +0000 (13:55 +0000)
committerossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Nov 2011 13:55:41 +0000 (13:55 +0000)
https://bugs.webkit.org/show_bug.cgi?id=71373

Patch by Andy Wingo <wingo@igalia.com> on 2011-11-09
Reviewed by Csaba Osztrogonác.

* wtf/Platform.h (ENABLE_DFG_JIT): Enable the DFG JIT on the
x86-64 GNU/Linux platform.
* CMakeListsEfl.txt: Add JSValue64 implementations to EFL build.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@99696 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/CMakeListsEfl.txt
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/wtf/Platform.h

index b57f9c5..11dd3ac 100644 (file)
@@ -29,13 +29,16 @@ LIST(APPEND JavaScriptCore_SOURCES
     dfg/DFGDriver.cpp
     dfg/DFGGraph.cpp
     dfg/DFGJITCodeGenerator.cpp
+    dfg/DFGJITCodeGenerator64.cpp
     dfg/DFGJITCodeGenerator32_64.cpp
     dfg/DFGJITCompiler.cpp
     dfg/DFGOperations.cpp
     dfg/DFGOSREntry.cpp
+    dfg/DFGOSRExitCompiler64.cpp
     dfg/DFGOSRExitCompiler32_64.cpp
     dfg/DFGPropagator.cpp
     dfg/DFGRepatch.cpp
     dfg/DFGSpeculativeJIT.cpp
+    dfg/DFGSpeculativeJIT64.cpp
     dfg/DFGSpeculativeJIT32_64.cpp
 )
index bed5df8..65d63e2 100644 (file)
@@ -1,3 +1,14 @@
+2011-11-09  Andy Wingo  <wingo@igalia.com>
+
+        Enable the DFG JIT on X86-64 Linux platforms
+        https://bugs.webkit.org/show_bug.cgi?id=71373
+
+        Reviewed by Csaba Osztrogonác.
+
+        * wtf/Platform.h (ENABLE_DFG_JIT): Enable the DFG JIT on the
+        x86-64 GNU/Linux platform.
+        * CMakeListsEfl.txt: Add JSValue64 implementations to EFL build.
+
 2011-11-09  Csaba Osztrogonác  <ossy@webkit.org>
 
         Enable the DFG JIT on x86-64 Linux platforms
index a194ae8..553dc5e 100644 (file)
 #define ENABLE_JIT 1
 #endif
 
-/* Currently for JSVALUE64, only tested on PLATFORM(MAC) */
-#if !defined(ENABLE_DFG_JIT) && ENABLE(JIT) && USE(JSVALUE64) && PLATFORM(MAC)
-#define ENABLE_DFG_JIT 1
-#endif
-
-/* Currently DFG for X86 are only tested on Linux OS and Mac Platform */
-#if !defined(ENABLE_DFG_JIT) && ENABLE(JIT) && CPU(X86) && (PLATFORM(MAC) || OS(LINUX))
+/* Enable the DFG JIT on X86 and X86_64.  Only tested on Mac and GNU/Linux.  */
+#if !defined(ENABLE_DFG_JIT) && ENABLE(JIT) \
+    && (CPU(X86) || CPU(X86_64)) \
+    && (PLATFORM(MAC) || OS(LINUX))
 #define ENABLE_DFG_JIT 1
 #endif