[project @ 2005-04-27 09:48:34 by simonmar]
[ghc-hetmet.git] / ghc / rts / Exception.cmm
index edabf54..6192f6d 100644 (file)
@@ -311,7 +311,7 @@ catchzh_fast
 
 INFO_TABLE(stg_raise,1,0,THUNK,"raise","raise")
 {
-  R1 = StgClosure_payload(R1,0);
+  R1 = StgThunk_payload(R1,0);
   jump raisezh_fast;
 }
 
@@ -330,7 +330,7 @@ raisezh_fast
      * the info was only displayed for an *uncaught* exception.
      */
     if (RtsFlags_ProfFlags_showCCSOnException(RtsFlags)) {
-      foreign "C" fprintCCS(stderr,W_[CCCS]);
+      foreign "C" fprintCCS_stderr(W_[CCCS] "ptr");
     }
 #endif