[Git][ghc/ghc][wip/T22010] Fix even more redundant imports

Jaro Reinders (@Noughtmare) gitlab at gitlab.haskell.org
Mon Jun 5 09:52:30 UTC 2023



Jaro Reinders pushed to branch wip/T22010 at Glasgow Haskell Compiler / GHC


Commits:
221eef28 by Jaro Reinders at 2023-06-05T11:52:21+02:00
Fix even more redundant imports

- - - - -


6 changed files:

- compiler/GHC/Cmm/Dominators.hs
- compiler/GHC/Cmm/Sink.hs
- compiler/GHC/CmmToAsm/Wasm/Asm.hs
- compiler/GHC/CmmToAsm/Wasm/FromCmm.hs
- compiler/GHC/CmmToAsm/Wasm/Types.hs
- compiler/GHC/Types/Var/Env.hs


Changes:

=====================================
compiler/GHC/Cmm/Dominators.hs
=====================================
@@ -26,8 +26,6 @@ import Data.Array.IArray
 import Data.Foldable()
 import qualified Data.Tree as Tree
 
-import qualified Data.IntMap.Strict as IM
-import qualified Data.IntSet as IS
 import Data.Word
 
 import qualified GHC.CmmToAsm.CFG.Dominators as LT


=====================================
compiler/GHC/Cmm/Sink.hs
=====================================
@@ -21,7 +21,6 @@ import GHC.Platform.Regs
 import GHC.Platform
 import GHC.Types.Unique.FM
 
-import qualified Data.IntSet as IntSet
 import qualified GHC.Data.Word64Set as Word64Set
 import Data.List (partition)
 import Data.Maybe


=====================================
compiler/GHC/CmmToAsm/Wasm/Asm.hs
=====================================
@@ -14,7 +14,6 @@ import qualified Data.ByteString as BS
 import Data.ByteString.Builder
 import Data.Coerce
 import Data.Foldable
-import qualified Data.IntSet as IS
 import qualified GHC.Data.Word64Set as WS
 import Data.Maybe
 import Data.Semigroup


=====================================
compiler/GHC/CmmToAsm/Wasm/FromCmm.hs
=====================================
@@ -26,7 +26,6 @@ import Control.Monad
 import qualified Data.ByteString as BS
 import Data.Foldable
 import Data.Functor
-import qualified Data.IntSet as IS
 import qualified GHC.Data.Word64Set as WS
 import Data.Semigroup
 import Data.String


=====================================
compiler/GHC/CmmToAsm/Wasm/Types.hs
=====================================
@@ -52,7 +52,6 @@ import Control.Applicative
 import Data.ByteString (ByteString)
 import Data.Coerce
 import Data.Functor
-import qualified Data.IntSet as IS
 import qualified GHC.Data.Word64Set as WS
 import Data.Kind
 import Data.String


=====================================
compiler/GHC/Types/Var/Env.hs
=====================================
@@ -78,7 +78,6 @@ module GHC.Types.Var.Env (
     ) where
 
 import GHC.Prelude
-import qualified Data.IntMap.Strict as IntMap -- TODO: Move this to UniqFM
 import qualified GHC.Data.Word64Map.Strict as Word64Map -- TODO: Move this to UniqFM
 
 import GHC.Types.Name.Occurrence



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/221eef2810fc94715f6716d8293c7af4f8062f09

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/221eef2810fc94715f6716d8293c7af4f8062f09
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230605/1b6ad27e/attachment-0001.html>


More information about the ghc-commits mailing list