X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FException.cmm;h=8ca397b95e8ebf3f3e9f6ef2433c65867514135f;hb=73566e25d75588185b0581722406da5c48965c51;hp=5c2ee95846de1d781273e8ac438d0ce59463995e;hpb=71899d3e335e763e61f1308bd38b10a18b110791;p=ghc-hetmet.git diff --git a/rts/Exception.cmm b/rts/Exception.cmm index 5c2ee95..8ca397b 100644 --- a/rts/Exception.cmm +++ b/rts/Exception.cmm @@ -329,7 +329,7 @@ raisezh_fast /* ToDo: currently this is a hack. Would be much better if * the info was only displayed for an *uncaught* exception. */ - if (RtsFlags_ProfFlags_showCCSOnException(RtsFlags)) { + if (RtsFlags_ProfFlags_showCCSOnException(RtsFlags) != 0::I32) { foreign "C" fprintCCS_stderr(W_[CCCS] "ptr"); } #endif @@ -348,7 +348,7 @@ retry_pop_stack: r = foreign "C" stmValidateNestOfTransactions(trec "ptr"); foreign "C" stmAbortTransaction(MyCapability() "ptr", trec "ptr"); StgTSO_trec(CurrentTSO) = NO_TREC; - if (r) { + if (r != 0) { // Transaction was valid: continue searching for a catch frame Sp = Sp + SIZEOF_StgAtomicallyFrame; goto retry_pop_stack;