Title: [154173] trunk/Source/_javascript_Core
Revision
154173
Author
[email protected]
Date
2013-08-16 04:02:34 -0700 (Fri, 16 Aug 2013)

Log Message

<https://webkit.org/b/119742> REGRESSION(FTL): Fix register usage in mips implementation of ctiVMHandleException

Patch by Balazs Kilvady <[email protected]> on 2013-08-16
Reviewed by Allan Sandfeld Jensen.

ctiVMHandleException must jump/return using register ra (r31).

* jit/JITStubsMIPS.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (154172 => 154173)


--- trunk/Source/_javascript_Core/ChangeLog	2013-08-16 10:08:26 UTC (rev 154172)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-08-16 11:02:34 UTC (rev 154173)
@@ -1,3 +1,13 @@
+2013-08-16  Balazs Kilvady  <[email protected]>
+
+        <https://webkit.org/b/119742> REGRESSION(FTL): Fix register usage in mips implementation of ctiVMHandleException
+
+        Reviewed by Allan Sandfeld Jensen.
+
+        ctiVMHandleException must jump/return using register ra (r31).
+
+        * jit/JITStubsMIPS.h:
+
 2013-08-16  Julien Brianceau  <[email protected]>
 
         <https://webkit.org/b/119879> Fix sh4 build after r154156.

Modified: trunk/Source/_javascript_Core/jit/JITStubsMIPS.h (154172 => 154173)


--- trunk/Source/_javascript_Core/jit/JITStubsMIPS.h	2013-08-16 10:08:26 UTC (rev 154172)
+++ trunk/Source/_javascript_Core/jit/JITStubsMIPS.h	2013-08-16 11:02:34 UTC (rev 154173)
@@ -149,9 +149,9 @@
     "move  $4,$16" "\n"
 #endif
     // When cti_vm_handle_exception returns, v0 has callFrame and v1 has handler address
+    "move  $31,$3" "\n"
+    "jr    $31" "\n"
     "move  $16,$2 " "\n"
-    "jr    $3" "\n"
-    "nop" "\n"
 ".set reorder" "\n"
 ".set macro" "\n"
 ".end " SYMBOL_STRING(ctiVMHandleException) "\n"
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to