diff options
Diffstat (limited to 'compiler/GHC/Driver/Session.hs')
-rw-r--r-- | compiler/GHC/Driver/Session.hs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/GHC/Driver/Session.hs b/compiler/GHC/Driver/Session.hs index b664f23ec8..8c41a4ca4f 100644 --- a/compiler/GHC/Driver/Session.hs +++ b/compiler/GHC/Driver/Session.hs @@ -464,7 +464,6 @@ data DynFlags = DynFlags { targetPlatform :: Platform, -- Filled in by SysTools toolSettings :: {-# UNPACK #-} !ToolSettings, platformMisc :: {-# UNPACK #-} !PlatformMisc, - platformConstants :: PlatformConstants, rawSettings :: [(String, String)], llvmConfig :: LlvmConfig, @@ -911,7 +910,7 @@ settings dflags = Settings , sTargetPlatform = targetPlatform dflags , sToolSettings = toolSettings dflags , sPlatformMisc = platformMisc dflags - , sPlatformConstants = platformConstants dflags + , sPlatformConstants = platformConstants (targetPlatform dflags) , sRawSettings = rawSettings dflags } @@ -1331,7 +1330,6 @@ defaultDynFlags mySettings llvmConfig = toolSettings = sToolSettings mySettings, targetPlatform = sTargetPlatform mySettings, platformMisc = sPlatformMisc mySettings, - platformConstants = sPlatformConstants mySettings, rawSettings = sRawSettings mySettings, -- See Note [LLVM configuration]. |