From: simonmar Date: Tue, 27 Nov 2001 11:23:44 +0000 (+0000) Subject: [project @ 2001-11-27 11:23:44 by simonmar] X-Git-Tag: Approximately_9120_patches~506 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=fe0fc008fd594ef65a6d3fd6e8fe9876f87c45f3;p=ghc-hetmet.git [project @ 2001-11-27 11:23:44 by simonmar] Add a DEBUG catch-all case in do_expr. --- diff --git a/ghc/compiler/profiling/SCCfinal.lhs b/ghc/compiler/profiling/SCCfinal.lhs index 8ed34ab..2cd96d4 100644 --- a/ghc/compiler/profiling/SCCfinal.lhs +++ b/ghc/compiler/profiling/SCCfinal.lhs @@ -213,6 +213,10 @@ stgMassageForProfiling mod_name us stg_binds = do_let b e `thenMM` \ (b,e) -> returnMM (StgLetNoEscape lvs1 lvs2 b e) +#ifdef DEBUG + do_expr other = pprPanic "SCCfinal.do_expr" (ppr other) +#endif + ---------------------------------- do_let (StgNonRec srt b rhs) e