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/llvmGen/LlvmCodeGen | |
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/llvmGen/LlvmCodeGen')
-rw-r--r-- | compiler/llvmGen/LlvmCodeGen/Base.hs | 2 | ||||
-rw-r--r-- | compiler/llvmGen/LlvmCodeGen/CodeGen.hs | 2 | ||||
-rw-r--r-- | compiler/llvmGen/LlvmCodeGen/Data.hs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/compiler/llvmGen/LlvmCodeGen/Base.hs b/compiler/llvmGen/LlvmCodeGen/Base.hs index ab9695778c..b47bf6aff6 100644 --- a/compiler/llvmGen/LlvmCodeGen/Base.hs +++ b/compiler/llvmGen/LlvmCodeGen/Base.hs @@ -49,7 +49,7 @@ import DynFlags import FastString import Cmm hiding ( succ ) import Outputable as Outp -import Platform +import GHC.Platform import UniqFM import Unique import BufWrite ( BufHandle ) diff --git a/compiler/llvmGen/LlvmCodeGen/CodeGen.hs b/compiler/llvmGen/LlvmCodeGen/CodeGen.hs index 28f38d09ec..bdf6a2642f 100644 --- a/compiler/llvmGen/LlvmCodeGen/CodeGen.hs +++ b/compiler/llvmGen/LlvmCodeGen/CodeGen.hs @@ -29,7 +29,7 @@ import FastString import ForeignCall import Outputable hiding (panic, pprPanic) import qualified Outputable -import Platform +import GHC.Platform import OrdList import UniqSupply import Unique diff --git a/compiler/llvmGen/LlvmCodeGen/Data.hs b/compiler/llvmGen/LlvmCodeGen/Data.hs index 3651a88cc6..70a04e6bc9 100644 --- a/compiler/llvmGen/LlvmCodeGen/Data.hs +++ b/compiler/llvmGen/LlvmCodeGen/Data.hs @@ -18,7 +18,7 @@ import BlockId import CLabel import Cmm import DynFlags -import Platform +import GHC.Platform import FastString import Outputable |