DEBUG removal
[ghc-hetmet.git] / compiler / simplStg / SRT.lhs
index 57c638d..1a17c06 100644 (file)
@@ -25,11 +25,9 @@ import Id            ( Id )
 import VarSet
 import VarEnv
 import Maybes          ( orElse, expectJust )
-import Bitmap          ( intsToBitmap )
+import Bitmap
 
-#ifdef DEBUG
 import Outputable
-#endif
 
 import List
 
@@ -143,9 +141,7 @@ srtExpr table (StgLetNoEscape live1 live2 bind body)
     srtExpr table body            =: \ body' ->
     StgLetNoEscape live1 live2 bind' body'
 
-#ifdef DEBUG
-srtExpr table expr = pprPanic "srtExpr" (ppr expr)
-#endif
+srtExpr _table expr = pprPanic "srtExpr" (ppr expr)
 
 srtAlt :: IdEnv Int -> StgAlt -> StgAlt
 srtAlt table (con,args,used,rhs)
@@ -157,7 +153,7 @@ srtAlt table (con,args,used,rhs)
 constructSRT :: IdEnv Int -> SRT -> SRT
 constructSRT table (SRTEntries entries)
  | isEmptyVarSet entries = NoSRT
- | otherwise  = SRT offset len bitmap
+ | otherwise  = seqBitmap bitmap $ SRT offset len bitmap
   where
     ints = map (expectJust "constructSRT" . lookupVarEnv table) 
                (varSetElems entries)