summaryrefslogtreecommitdiff
path: root/compiler/GHC/ByteCode
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-09-22 21:33:28 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-10-01 18:36:11 -0400
commit93d5de165a81dfb335bf1646c2e29956f5ab55ea (patch)
tree6e178737337cad718bd554af8d1304fd0d38d352 /compiler/GHC/ByteCode
parentdafe79433c2ca884da3677194ee38913ee30e8dc (diff)
downloadhaskell-93d5de165a81dfb335bf1646c2e29956f5ab55ea.tar.gz
Don't import GHC.Unit to reduce the number of dependencies
Diffstat (limited to 'compiler/GHC/ByteCode')
-rw-r--r--compiler/GHC/ByteCode/Linker.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/GHC/ByteCode/Linker.hs b/compiler/GHC/ByteCode/Linker.hs
index 03c03fbf2b..bf7ef712fc 100644
--- a/compiler/GHC/ByteCode/Linker.hs
+++ b/compiler/GHC/ByteCode/Linker.hs
@@ -31,7 +31,8 @@ import GHC.Driver.Types
import GHC.Types.Name
import GHC.Types.Name.Env
import GHC.Builtin.PrimOps
-import GHC.Unit
+import GHC.Unit.Types
+import GHC.Unit.Module.Name
import GHC.Data.FastString
import GHC.Utils.Panic
import GHC.Utils.Outputable