add missing %ENTRY_CODE()
authorSimon Marlow <simonmar@microsoft.com>
Thu, 8 Mar 2007 10:19:21 +0000 (10:19 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Thu, 8 Mar 2007 10:19:21 +0000 (10:19 +0000)
fixes unreg way in HEAD

rts/Exception.cmm

index c86c6d5..ce2ea27 100644 (file)
@@ -291,7 +291,7 @@ INFO_TABLE_RET(stg_catch_frame,
 #ifdef REG_R1
    {
       Sp = Sp + SIZEOF_StgCatchFrame;
 #ifdef REG_R1
    {
       Sp = Sp + SIZEOF_StgCatchFrame;
-      jump Sp(SP_OFF);
+      jump %ENTRY_CODE(Sp(SP_OFF));
    }
 #else
    {
    }
 #else
    {
@@ -299,7 +299,7 @@ INFO_TABLE_RET(stg_catch_frame,
       rval = Sp(0);
       Sp = Sp + SIZEOF_StgCatchFrame;
       Sp(0) = rval;
       rval = Sp(0);
       Sp = Sp + SIZEOF_StgCatchFrame;
       Sp(0) = rval;
-      jump Sp(SP_OFF);
+      jump %ENTRY_CODE(Sp(SP_OFF));
    }
 #endif
 
    }
 #endif