diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2019-05-30 20:06:24 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-06-19 22:16:16 -0400 |
commit | bff2f24ba9104275c665b6a0cf30a8dd18407392 (patch) | |
tree | ec8f3bc21dfc3e8bb09ec69d82ac499d12489093 /compiler/ghci | |
parent | 3ae23992786c7ea3211ab6f13e1d61a5edfe5952 (diff) | |
download | haskell-bff2f24ba9104275c665b6a0cf30a8dd18407392.tar.gz |
Move 'Platform' to ghc-boot
ghc-pkg needs to be aware of platforms so it can figure out which
subdire within the user package db to use. This is admittedly
roundabout, but maybe Cabal could use the same notion of a platform as
GHC to good affect too.
Diffstat (limited to 'compiler/ghci')
-rw-r--r-- | compiler/ghci/ByteCodeAsm.hs | 2 | ||||
-rw-r--r-- | compiler/ghci/ByteCodeGen.hs | 2 | ||||
-rw-r--r-- | compiler/ghci/Linker.hs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/compiler/ghci/ByteCodeAsm.hs b/compiler/ghci/ByteCodeAsm.hs index fb38ca1c02..aa556e774f 100644 --- a/compiler/ghci/ByteCodeAsm.hs +++ b/compiler/ghci/ByteCodeAsm.hs @@ -33,7 +33,7 @@ import StgCmmLayout ( ArgRep(..) ) import SMRep import DynFlags import Outputable -import Platform +import GHC.Platform import Util import Unique import UniqDSet diff --git a/compiler/ghci/ByteCodeGen.hs b/compiler/ghci/ByteCodeGen.hs index 33ae172d71..8b23e08003 100644 --- a/compiler/ghci/ByteCodeGen.hs +++ b/compiler/ghci/ByteCodeGen.hs @@ -23,7 +23,7 @@ import GHCi.RemoteTypes import BasicTypes import DynFlags import Outputable -import Platform +import GHC.Platform import Name import MkId import Id diff --git a/compiler/ghci/Linker.hs b/compiler/ghci/Linker.hs index e26dcce1ee..bd74d36c56 100644 --- a/compiler/ghci/Linker.hs +++ b/compiler/ghci/Linker.hs @@ -50,7 +50,7 @@ import SrcLoc import qualified Maybes import UniqDSet import FastString -import Platform +import GHC.Platform import SysTools import FileCleanup |