summaryrefslogtreecommitdiff
path: root/compiler/GHC/CmmToAsm/Config.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/CmmToAsm/Config.hs')
-rw-r--r--compiler/GHC/CmmToAsm/Config.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/CmmToAsm/Config.hs b/compiler/GHC/CmmToAsm/Config.hs
index cbd15d0580..6879a8c41c 100644
--- a/compiler/GHC/CmmToAsm/Config.hs
+++ b/compiler/GHC/CmmToAsm/Config.hs
@@ -9,12 +9,12 @@ where
import GHC.Prelude
import GHC.Platform
import GHC.Cmm.Type (Width(..))
-import GHC.Types.Module
+import GHC.Unit.Module
-- | Native code generator configuration
data NCGConfig = NCGConfig
{ ncgPlatform :: !Platform -- ^ Target platform
- , ncgUnitId :: UnitId -- ^ Target unit ID
+ , ncgUnitId :: Unit -- ^ Target unit ID
, ncgProcAlignment :: !(Maybe Int) -- ^ Mandatory proc alignment
, ncgDebugLevel :: !Int -- ^ Debug level
, ncgExternalDynamicRefs :: !Bool -- ^ Generate code to link against dynamic libraries