X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FcodeGen%2FBitmap.hs;h=3b363fd24e5b18591b5bd7972afb3d74fa2fb03e;hb=08652e67c4d5d9a40687f93c286021a867c1bca0;hp=7ee78a973f1a3fd8d3d20e276fcd439005ca5140;hpb=982c1f494de8a691294a95aee108e765c3f592a0;p=ghc-hetmet.git diff --git a/compiler/codeGen/Bitmap.hs b/compiler/codeGen/Bitmap.hs index 7ee78a9..3b363fd 100644 --- a/compiler/codeGen/Bitmap.hs +++ b/compiler/codeGen/Bitmap.hs @@ -16,7 +16,8 @@ module Bitmap ( Bitmap, mkBitmap, intsToBitmap, intsToReverseBitmap, - mAX_SMALL_BITMAP_SIZE + mAX_SMALL_BITMAP_SIZE, + seqBitmap, ) where #include "HsVersions.h" @@ -24,6 +25,7 @@ module Bitmap ( import SMRep import Constants +import Util import Data.Bits @@ -85,3 +87,6 @@ mAX_SMALL_BITMAP_SIZE :: Int mAX_SMALL_BITMAP_SIZE | wORD_SIZE == 4 = 27 | otherwise = 58 +seqBitmap :: Bitmap -> a -> a +seqBitmap = seqList +