summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Graf <sebastian.graf@kit.edu>2019-01-30 13:59:10 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-02-02 22:05:36 -0500
commit558550a671f9be2207aeaf4f60f607236ccb840f (patch)
tree92bfdb431c6ba893ea067b86e1ccf894e25ceaae
parent2d79cd152161ec090f8408ef3b499cd48231d498 (diff)
downloadhaskell-558550a671f9be2207aeaf4f60f607236ccb840f.tar.gz
Remove unused imports
-rw-r--r--compiler/nativeGen/X86/RegInfo.hs3
-rw-r--r--ghc/Main.hs3
2 files changed, 1 insertions, 5 deletions
diff --git a/compiler/nativeGen/X86/RegInfo.hs b/compiler/nativeGen/X86/RegInfo.hs
index 7ca0c0c75a..339fdd7a8c 100644
--- a/compiler/nativeGen/X86/RegInfo.hs
+++ b/compiler/nativeGen/X86/RegInfo.hs
@@ -21,9 +21,6 @@ import Unique
import UniqFM
import X86.Regs
-import Debug.Trace
-import Numeric (showHex)
-
mkVirtualReg :: Unique -> Format -> VirtualReg
mkVirtualReg u format
diff --git a/ghc/Main.hs b/ghc/Main.hs
index 456ff905eb..2202f7116a 100644
--- a/ghc/Main.hs
+++ b/ghc/Main.hs
@@ -31,7 +31,7 @@ import GHCi.UI ( interactiveUI, ghciWelcomeMsg, defaultGhciSettings )
-- Frontend plugins
#if defined(GHCI)
-import DynamicLoading ( loadFrontendPlugin )
+import DynamicLoading ( loadFrontendPlugin, initializePlugins )
import Plugins
#else
import DynamicLoading ( pluginError )
@@ -56,7 +56,6 @@ import Util
import Panic
import UniqSupply
import MonadUtils ( liftIO )
-import DynamicLoading ( initializePlugins )
-- Imports for --abi-hash
import LoadIface ( loadUserInterface )