[project @ 2001-11-27 11:23:44 by simonmar]
authorsimonmar <unknown>
Tue, 27 Nov 2001 11:23:44 +0000 (11:23 +0000)
committersimonmar <unknown>
Tue, 27 Nov 2001 11:23:44 +0000 (11:23 +0000)
Add a DEBUG catch-all case in do_expr.

ghc/compiler/profiling/SCCfinal.lhs

index 8ed34ab..2cd96d4 100644 (file)
@@ -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