diff options
author | James Foster <ratherforky@gmail.com> | 2019-08-15 01:00:17 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-08-15 12:01:43 -0400 |
commit | ca71d5514626dbfd74a3d9931c2ecbd02b5343bc (patch) | |
tree | fb55fdc11fa471cf5b8c95d9923f45f6ffc2ccf1 /compiler/nativeGen/X86/CodeGen.hs | |
parent | 6329c70a36242849540c93b34903f6188b0ed477 (diff) | |
download | haskell-ca71d5514626dbfd74a3d9931c2ecbd02b5343bc.tar.gz |
Remove unused imports of the form 'import foo ()' (Fixes #17065)
These kinds of imports are necessary in some cases such as
importing instances of typeclasses or intentionally creating
dependencies in the build system, but '-Wunused-imports' can't
detect when they are no longer needed. This commit removes the
unused ones currently in the code base (not including test files
or submodules), with the hope that doing so may increase
parallelism in the build system by removing unnecessary
dependencies.
Diffstat (limited to 'compiler/nativeGen/X86/CodeGen.hs')
-rw-r--r-- | compiler/nativeGen/X86/CodeGen.hs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/nativeGen/X86/CodeGen.hs b/compiler/nativeGen/X86/CodeGen.hs index 13662f6807..4aeb4eb635 100644 --- a/compiler/nativeGen/X86/CodeGen.hs +++ b/compiler/nativeGen/X86/CodeGen.hs @@ -38,9 +38,6 @@ import X86.Cond import X86.Regs import X86.RegInfo ---TODO: Remove - Just for development/debugging -import X86.Ppr() - import CodeGen.Platform import CPrim import Debug ( DebugBlock(..), UnwindPoint(..), UnwindTable @@ -60,7 +57,6 @@ import GHC.Platform import BasicTypes import BlockId import Module ( primUnitId ) -import PprCmm () import CmmUtils import CmmSwitch import Cmm |