changeset 18667:c9576b6cf7d6

[SPARC] Fix when rethrowing exceptions. (Crashed the CompileTheWorld)
author Stefan Anzinger <stefan.anzinger@oracle.com>
date Fri, 12 Dec 2014 19:43:43 +0100
parents 8a03753546f3
children 6ace9e5bc384
files graal/com.oracle.graal.hotspot.sparc/src/com/oracle/graal/hotspot/sparc/SPARCHotSpotJumpToExceptionHandlerInCallerOp.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot.sparc/src/com/oracle/graal/hotspot/sparc/SPARCHotSpotJumpToExceptionHandlerInCallerOp.java	Fri Dec 05 00:38:17 2014 +0100
+++ b/graal/com.oracle.graal.hotspot.sparc/src/com/oracle/graal/hotspot/sparc/SPARCHotSpotJumpToExceptionHandlerInCallerOp.java	Fri Dec 12 19:43:43 2014 +0100
@@ -69,6 +69,7 @@
         new Cmp(o7, o7).emit(masm);
         new Movcc(ConditionFlag.NotZero, CC.Icc, l7, sp).emit(masm);
 
+        new Mov(i7, o7).emit(masm);
         new Jmpl(asRegister(handlerInCallerPc), 0, g0).emit(masm);
         new Nop().emit(masm);
     }