Title: [153583] trunk/Source/_javascript_Core
Revision
153583
Author
[email protected]
Date
2013-08-01 06:28:56 -0700 (Thu, 01 Aug 2013)

Log Message

REGRESSION(FTL): Fix sh4 implementation of ctiVMThrowTrampolineSlowpath.
https://bugs.webkit.org/show_bug.cgi?id=119391

Patch by Julien Brianceau <[email protected]> on 2013-08-01
Reviewed by Csaba Osztrogonác.

* jit/JITStubsSH4.h: Fix ctiVMThrowTrampolineSlowpath implementation:
    - Call frame is in r14 register.
    - Do not restore registers from JIT stack frame here.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (153582 => 153583)


--- trunk/Source/_javascript_Core/ChangeLog	2013-08-01 13:03:45 UTC (rev 153582)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-08-01 13:28:56 UTC (rev 153583)
@@ -1,3 +1,14 @@
+2013-08-01  Julien Brianceau  <[email protected]>
+
+        REGRESSION(FTL): Fix sh4 implementation of ctiVMThrowTrampolineSlowpath.
+        https://bugs.webkit.org/show_bug.cgi?id=119391
+
+        Reviewed by Csaba Osztrogonác.
+
+        * jit/JITStubsSH4.h: Fix ctiVMThrowTrampolineSlowpath implementation:
+            - Call frame is in r14 register.
+            - Do not restore registers from JIT stack frame here.
+
 2013-07-31  Gavin Barraclough  <[email protected]>
 
         More cleanup in PropertySlot

Modified: trunk/Source/_javascript_Core/jit/JITStubsSH4.h (153582 => 153583)


--- trunk/Source/_javascript_Core/jit/JITStubsSH4.h	2013-08-01 13:03:45 UTC (rev 153582)
+++ trunk/Source/_javascript_Core/jit/JITStubsSH4.h	2013-08-01 13:28:56 UTC (rev 153583)
@@ -102,19 +102,12 @@
 HIDE_SYMBOL(ctiVMThrowTrampolineSlowpath) "\n"
 SYMBOL_STRING(ctiVMThrowTrampolineSlowpath) ":" "\n"
     "mov.l .L2"SYMBOL_STRING(cti_vm_throw_slowpath)",r0" "\n"
-    "mov r15, r4" "\n"
+    "mov r14, r4" "\n"
     "mov.l @(r0,r12),r11" "\n"
     "jsr @r11" "\n"
     // When cti_vm_throw_slowpath returns, r0 has callFrame and r1 has handler address
     "nop" "\n"
-    "add #60, r15" "\n"
-    "mov.l @r15+,r10" "\n"
-    "mov.l @r15+,r11" "\n"
-    "mov.l @r15+,r13" "\n"
-    "lds.l @r15+,pr" "\n"
-    "mov.l @r15+,r14" "\n"
-    "add #12, r15" "\n"
-    "mov r0, r4" "\n"
+    "mov r0, r14" "\n"
     "jmp @r1" "\n"
     "nop" "\n"
     ".align 2" "\n"
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to