{ \
W_ rval; \
rval = Sp(0); \
- Sp_adj(1); \
- Sp = Sp + SIZEOF_StgCatchFrame - WDS(1); \
+ Sp = Sp + SIZEOF_StgCatchFrame; \
Sp(0) = rval; \
jump ret; \
}
/* Set up the catch frame */
Sp = Sp - SIZEOF_StgCatchFrame;
- SET_HDR(Sp,stg_catch_frame_info,CCCS);
+ SET_HDR(Sp,stg_catch_frame_info,W_[CCCS]);
StgCatchFrame_handler(Sp) = R2;
StgCatchFrame_exceptions_blocked(Sp) =
* the info was only displayed for an *uncaught* exception.
*/
if (RtsFlags_ProfFlags_showCCSOnException(RtsFlags)) {
- foreign "C" fprintCCS(stderr,CCCS);
+ foreign "C" fprintCCS(W_[stderr] "ptr",W_[CCCS] "ptr");
}
#endif