summaryrefslogtreecommitdiff
path: root/compiler/GHC/Data/Bitmap.hs
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2021-03-31 15:31:19 +0200
committerAndreas Klebinger <klebinger.andreas@gmx.at>2021-04-05 15:44:28 +0200
commitb3ab8f51896a75244765a840329974be9cde5c01 (patch)
tree42ef9ad92f162db095bd308d17a1596f65787068 /compiler/GHC/Data/Bitmap.hs
parent6604409594f71d2ed5963bb3897bc4ee772cc5c0 (diff)
downloadhaskell-b3ab8f51896a75244765a840329974be9cde5c01.tar.gz
Re-export GHC.Bits from GHC.Prelude with custom shift implementation.wip/andreask/unsafe-shifts
This allows us to use the unsafe shifts in non-debug builds for performance. For older versions of base we instead export Data.Bits See also #19618
Diffstat (limited to 'compiler/GHC/Data/Bitmap.hs')
-rw-r--r--compiler/GHC/Data/Bitmap.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/GHC/Data/Bitmap.hs b/compiler/GHC/Data/Bitmap.hs
index 5f6444ddc0..533dc725cd 100644
--- a/compiler/GHC/Data/Bitmap.hs
+++ b/compiler/GHC/Data/Bitmap.hs
@@ -19,7 +19,6 @@ import GHC.Prelude
import GHC.Platform
import GHC.Runtime.Heap.Layout
-import Data.Bits
{-|
A bitmap represented by a sequence of 'StgWord's on the /target/