summaryrefslogtreecommitdiff
path: root/compiler/GHC/CmmToC.hs
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2021-03-31 15:31:19 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-04-09 03:31:02 -0400
commitc02ac1bbd2d882d58307fa3009aa2d9665399703 (patch)
tree0c5a038ca509a36e4b24ceca3643d65e63a7e533 /compiler/GHC/CmmToC.hs
parent0bdb867e37bcfe4ae2c5c4f5f7e54b41acfe6116 (diff)
downloadhaskell-c02ac1bbd2d882d58307fa3009aa2d9665399703.tar.gz
Re-export GHC.Bits from GHC.Prelude with custom shift implementation.
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/CmmToC.hs')
-rw-r--r--compiler/GHC/CmmToC.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/GHC/CmmToC.hs b/compiler/GHC/CmmToC.hs
index 49f0567a81..5f6c0486bc 100644
--- a/compiler/GHC/CmmToC.hs
+++ b/compiler/GHC/CmmToC.hs
@@ -59,7 +59,6 @@ import GHC.Utils.Misc
import Data.ByteString (ByteString)
import qualified Data.ByteString as BS
import Control.Monad.ST
-import Data.Bits
import Data.Char
import Data.List (intersperse)
import Data.Map (Map)