summaryrefslogtreecommitdiff
path: root/compiler/GHC/CmmToAsm
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/CmmToAsm
parentdafe79433c2ca884da3677194ee38913ee30e8dc (diff)
downloadhaskell-93d5de165a81dfb335bf1646c2e29956f5ab55ea.tar.gz
Don't import GHC.Unit to reduce the number of dependencies
Diffstat (limited to 'compiler/GHC/CmmToAsm')
-rw-r--r--compiler/GHC/CmmToAsm/X86/CodeGen.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/CmmToAsm/X86/CodeGen.hs b/compiler/GHC/CmmToAsm/X86/CodeGen.hs
index 6a64a88651..e9b54c6b45 100644
--- a/compiler/GHC/CmmToAsm/X86/CodeGen.hs
+++ b/compiler/GHC/CmmToAsm/X86/CodeGen.hs
@@ -68,7 +68,7 @@ import GHC.Platform
-- Our intermediate code:
import GHC.Types.Basic
import GHC.Cmm.BlockId
-import GHC.Unit ( primUnitId )
+import GHC.Unit.Types ( primUnitId )
import GHC.Cmm.Utils
import GHC.Cmm.Switch
import GHC.Cmm