X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FcodeGen%2FCgCallConv.hs;h=b0fab89f820ddba213c3dc9ea4d0c84c49f71a43;hb=f96e9aa0444de0e673b3c4055c6e43299639bc5b;hp=4b659b7ebd8bc9f2beaf4287504bf337e4916d98;hpb=affbe8dae5d7eb350686b42ddbd4f3561b7bd0ec;p=ghc-hetmet.git diff --git a/compiler/codeGen/CgCallConv.hs b/compiler/codeGen/CgCallConv.hs index 4b659b7..b0fab89 100644 --- a/compiler/codeGen/CgCallConv.hs +++ b/compiler/codeGen/CgCallConv.hs @@ -51,6 +51,7 @@ import Util import StaticFlags import FastString import Outputable +import Unique import Data.Bits @@ -135,7 +136,7 @@ stdPattern other = Nothing mkLiveness :: Name -> Int -> Bitmap -> FCode Liveness mkLiveness name size bits | size > mAX_SMALL_BITMAP_SIZE -- Bitmap does not fit in one word - = do { let lbl = mkBitmapLabel name + = do { let lbl = mkBitmapLabel (getUnique name) ; emitRODataLits lbl ( mkWordCLit (fromIntegral size) : map mkWordCLit bits) ; return (BigLiveness lbl) }