From fe0fc008fd594ef65a6d3fd6e8fe9876f87c45f3 Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 27 Nov 2001 11:23:44 +0000 Subject: [PATCH] [project @ 2001-11-27 11:23:44 by simonmar] Add a DEBUG catch-all case in do_expr. --- ghc/compiler/profiling/SCCfinal.lhs | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 1.7.10.4