From 02b0949907fe7cc0853663663b2190fe019f7acd Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 17 Mar 2005 13:14:59 +0000 Subject: [PATCH] [project @ 2005-03-17 13:14:59 by simonmar] Fix +RTS -xc, which is broken in 6.4. --- ghc/rts/Exception.cmm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc/rts/Exception.cmm b/ghc/rts/Exception.cmm index 0348d30..edabf54 100644 --- a/ghc/rts/Exception.cmm +++ b/ghc/rts/Exception.cmm @@ -285,7 +285,7 @@ catchzh_fast /* 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) = @@ -330,7 +330,7 @@ raisezh_fast * the info was only displayed for an *uncaught* exception. */ if (RtsFlags_ProfFlags_showCCSOnException(RtsFlags)) { - foreign "C" fprintCCS(stderr,CCCS); + foreign "C" fprintCCS(stderr,W_[CCCS]); } #endif -- 1.7.10.4