[commit: ghc] wip/werror: Remove unused imports (4e9a3b4)
git at git.haskell.org
git at git.haskell.org
Thu Jan 31 04:24:54 UTC 2019
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/werror
Link : http://ghc.haskell.org/trac/ghc/changeset/4e9a3b4249103a9ca155c80a0ba20c46e175c6ce/ghc
>---------------------------------------------------------------
commit 4e9a3b4249103a9ca155c80a0ba20c46e175c6ce
Author: Sebastian Graf <sebastian.graf at kit.edu>
Date: Wed Jan 30 13:59:10 2019 +0100
Remove unused imports
>---------------------------------------------------------------
4e9a3b4249103a9ca155c80a0ba20c46e175c6ce
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