X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2FcodeGen%2FBitmap.hs;h=acd398c8d5ffd0477bc9eedc9842d367b17b7784;hp=871aff9d712ba83bea2192360501464ab4805848;hb=0af06ed99ed56341adfdda4a92a0a36678780109;hpb=7fc749a43b4b6b85d234fa95d4928648259584f4 diff --git a/compiler/codeGen/Bitmap.hs b/compiler/codeGen/Bitmap.hs index 871aff9..acd398c 100644 --- a/compiler/codeGen/Bitmap.hs +++ b/compiler/codeGen/Bitmap.hs @@ -6,17 +6,11 @@ -- places in generated code (stack frame liveness masks, function -- argument liveness masks, SRT bitmaps). -{-# OPTIONS -w #-} --- The above warning supression flag is a temporary kludge. --- While working on this module you are encouraged to remove it and fix --- any warnings in the module. See --- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings --- for details - module Bitmap ( Bitmap, mkBitmap, intsToBitmap, intsToReverseBitmap, - mAX_SMALL_BITMAP_SIZE + mAX_SMALL_BITMAP_SIZE, + seqBitmap, ) where #include "HsVersions.h" @@ -24,6 +18,7 @@ module Bitmap ( import SMRep import Constants +import Util import Data.Bits @@ -85,3 +80,6 @@ mAX_SMALL_BITMAP_SIZE :: Int mAX_SMALL_BITMAP_SIZE | wORD_SIZE == 4 = 27 | otherwise = 58 +seqBitmap :: Bitmap -> a -> a +seqBitmap = seqList +