Title: [113642] trunk/Source/_javascript_Core
Revision
113642
Author
[email protected]
Date
2012-04-09 16:54:12 -0700 (Mon, 09 Apr 2012)

Log Message

Unreviewed, modernize and clean up uses of ARM assembly mnemonics in inline asm blocks.

* dfg/DFGOperations.cpp:
(JSC):
* offlineasm/armv7.rb:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (113641 => 113642)


--- trunk/Source/_javascript_Core/ChangeLog	2012-04-09 23:49:28 UTC (rev 113641)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-04-09 23:54:12 UTC (rev 113642)
@@ -1,3 +1,11 @@
+2012-04-09  Filip Pizlo  <[email protected]>
+
+        Unreviewed, modernize and clean up uses of ARM assembly mnemonics in inline asm blocks.
+
+        * dfg/DFGOperations.cpp:
+        (JSC):
+        * offlineasm/armv7.rb:
+
 2012-04-09  Patrick Gansterer  <[email protected]>
 
         Remove HAVE_STDINT_H

Modified: trunk/Source/_javascript_Core/dfg/DFGOperations.cpp (113641 => 113642)


--- trunk/Source/_javascript_Core/dfg/DFGOperations.cpp	2012-04-09 23:49:28 UTC (rev 113641)
+++ trunk/Source/_javascript_Core/dfg/DFGOperations.cpp	2012-04-09 23:54:12 UTC (rev 113642)
@@ -83,7 +83,7 @@
     ".thumb" "\n" \
     ".thumb_func " THUMB_FUNC_PARAM(function) "\n" \
     SYMBOL_STRING(function) ":" "\n" \
-        "cpy a2, lr" "\n" \
+        "mov a2, lr" "\n" \
         "b " SYMBOL_STRING_RELOCATION(function) "WithReturnAddress" "\n" \
     );
 
@@ -96,7 +96,7 @@
     ".thumb" "\n" \
     ".thumb_func " THUMB_FUNC_PARAM(function) "\n" \
     SYMBOL_STRING(function) ":" "\n" \
-        "cpy a4, lr" "\n" \
+        "mov a4, lr" "\n" \
         "b " SYMBOL_STRING_RELOCATION(function) "WithReturnAddress" "\n" \
     );
 
@@ -1174,7 +1174,7 @@
 ".thumb_func " THUMB_FUNC_PARAM(getHostCallReturnValue) "\n"
 SYMBOL_STRING(getHostCallReturnValue) ":" "\n"
     "ldr r5, [r5, #-40]" "\n"
-    "cpy r0, r5" "\n"
+    "mov r0, r5" "\n"
     "b " SYMBOL_STRING_RELOCATION(getHostCallReturnValueWithExecState) "\n"
 );
 #endif

Modified: trunk/Source/_javascript_Core/offlineasm/armv7.rb (113641 => 113642)


--- trunk/Source/_javascript_Core/offlineasm/armv7.rb	2012-04-09 23:49:28 UTC (rev 113641)
+++ trunk/Source/_javascript_Core/offlineasm/armv7.rb	2012-04-09 23:54:12 UTC (rev 113642)
@@ -945,7 +945,7 @@
                 $asm.puts "blx #{operands[0].armV7Operand}"
             end
         when "break"
-            $asm.puts "bkpt"
+            $asm.puts "bkpt #0"
         when "ret"
             $asm.puts "bx lr"
         when "cieq", "cpeq"
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to