X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2FcodeGen%2FBitmap.hs;h=acd398c8d5ffd0477bc9eedc9842d367b17b7784;hp=2e77014f53b296e66b695f790394582a5e0cb725;hb=f537dd87c4a07526e2b1fc1bd1c125d652833641;hpb=4975f4a6222211028c8252782fea090e0a4e21a7 diff --git a/compiler/codeGen/Bitmap.hs b/compiler/codeGen/Bitmap.hs index 2e77014..acd398c 100644 --- a/compiler/codeGen/Bitmap.hs +++ b/compiler/codeGen/Bitmap.hs @@ -9,7 +9,8 @@ module Bitmap ( Bitmap, mkBitmap, intsToBitmap, intsToReverseBitmap, - mAX_SMALL_BITMAP_SIZE + mAX_SMALL_BITMAP_SIZE, + seqBitmap, ) where #include "HsVersions.h" @@ -17,6 +18,7 @@ module Bitmap ( import SMRep import Constants +import Util import Data.Bits @@ -78,3 +80,6 @@ mAX_SMALL_BITMAP_SIZE :: Int mAX_SMALL_BITMAP_SIZE | wORD_SIZE == 4 = 27 | otherwise = 58 +seqBitmap :: Bitmap -> a -> a +seqBitmap = seqList +