[commit: ghc] wip/T16265: Remove unused imports (558550a)
git at git.haskell.org
git at git.haskell.org
Sun Feb 3 11:26:00 UTC 2019
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T16265
Link : http://ghc.haskell.org/trac/ghc/changeset/558550a671f9be2207aeaf4f60f607236ccb840f/ghc
>---------------------------------------------------------------
commit 558550a671f9be2207aeaf4f60f607236ccb840f
Author: Sebastian Graf <sebastian.graf at kit.edu>
Date: Wed Jan 30 13:59:10 2019 +0100
Remove unused imports
>---------------------------------------------------------------
558550a671f9be2207aeaf4f60f607236ccb840f
compiler/nativeGen/X86/RegInfo.hs | 3 ---
ghc/Main.hs | 3 +--
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/compiler/nativeGen/X86/RegInfo.hs b/compiler/nativeGen/X86/RegInfo.hs
index 7ca0c0c..339fdd7 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 456ff90..2202f71 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 )
More information about the ghc-commits
mailing list