X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fcmm%2FCmmInfo.hs;h=254945328828be70251b3aafcababc1960ad20a5;hp=de6e201a180a7842e7ace976c3dd3eea6cd84f2e;hb=8350c21760d8610b0b2f329095ffb80bb1bc20d9;hpb=52f50252d4d804349dfca30c2152225c60e5d5c1 diff --git a/compiler/cmm/CmmInfo.hs b/compiler/cmm/CmmInfo.hs index de6e201..2549453 100644 --- a/compiler/cmm/CmmInfo.hs +++ b/compiler/cmm/CmmInfo.hs @@ -21,10 +21,10 @@ import SMRep import ZipCfgCmmRep import Constants +import Panic import StaticFlags import Unique import UniqSupply -import Panic import Data.Bits @@ -58,7 +58,7 @@ cmmToRawCmm cmm = do -- -- -- --- See includes/InfoTables.h +-- See includes/rts/storage/InfoTables.h -- -- For return-points these are as follows -- @@ -245,7 +245,7 @@ mkLiveness uniq live = small_bitmap = case bitmap of [] -> 0 - [b] -> fromIntegral b + [b] -> b _ -> panic "mkLiveness" small_liveness = fromIntegral (length bits) .|. (small_bitmap `shiftL` bITMAP_BITS_SHIFT)