X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2FsimplStg%2FSRT.lhs;fp=compiler%2FsimplStg%2FSRT.lhs;h=5618cb19f7dfeb2bbb1283eb078c87f376a43b61;hp=57c638d5db6c1373012cf726b87d227225895214;hb=0dfab83f21817343d334314ddd25026f3f0224ab;hpb=b4696d8ac6c34ccb4e3ed833831ba8166dcce578 diff --git a/compiler/simplStg/SRT.lhs b/compiler/simplStg/SRT.lhs index 57c638d..5618cb1 100644 --- a/compiler/simplStg/SRT.lhs +++ b/compiler/simplStg/SRT.lhs @@ -25,7 +25,7 @@ import Id ( Id ) import VarSet import VarEnv import Maybes ( orElse, expectJust ) -import Bitmap ( intsToBitmap ) +import Bitmap #ifdef DEBUG import Outputable @@ -157,7 +157,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)