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/nativeGen/RegAlloc/Graph | |
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/nativeGen/RegAlloc/Graph')
-rw-r--r-- | compiler/nativeGen/RegAlloc/Graph/Main.hs | 2 | ||||
-rw-r--r-- | compiler/nativeGen/RegAlloc/Graph/Spill.hs | 2 | ||||
-rw-r--r-- | compiler/nativeGen/RegAlloc/Graph/SpillClean.hs | 2 | ||||
-rw-r--r-- | compiler/nativeGen/RegAlloc/Graph/SpillCost.hs | 2 | ||||
-rw-r--r-- | compiler/nativeGen/RegAlloc/Graph/TrivColorable.hs | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/compiler/nativeGen/RegAlloc/Graph/Main.hs b/compiler/nativeGen/RegAlloc/Graph/Main.hs index c7875cfaea..df97de1c62 100644 --- a/compiler/nativeGen/RegAlloc/Graph/Main.hs +++ b/compiler/nativeGen/RegAlloc/Graph/Main.hs @@ -21,7 +21,7 @@ import Reg import Bag import DynFlags import Outputable -import Platform +import GHC.Platform import UniqFM import UniqSet import UniqSupply diff --git a/compiler/nativeGen/RegAlloc/Graph/Spill.hs b/compiler/nativeGen/RegAlloc/Graph/Spill.hs index bc26a663a5..eccc83eb48 100644 --- a/compiler/nativeGen/RegAlloc/Graph/Spill.hs +++ b/compiler/nativeGen/RegAlloc/Graph/Spill.hs @@ -23,7 +23,7 @@ import UniqFM import UniqSet import UniqSupply import Outputable -import Platform +import GHC.Platform import Data.List import Data.Maybe diff --git a/compiler/nativeGen/RegAlloc/Graph/SpillClean.hs b/compiler/nativeGen/RegAlloc/Graph/SpillClean.hs index 50001d7334..6d7b377d68 100644 --- a/compiler/nativeGen/RegAlloc/Graph/SpillClean.hs +++ b/compiler/nativeGen/RegAlloc/Graph/SpillClean.hs @@ -41,7 +41,7 @@ import UniqFM import Unique import State import Outputable -import Platform +import GHC.Platform import Hoopl.Collections import Data.List diff --git a/compiler/nativeGen/RegAlloc/Graph/SpillCost.hs b/compiler/nativeGen/RegAlloc/Graph/SpillCost.hs index b62c44fa81..9c6e24d320 100644 --- a/compiler/nativeGen/RegAlloc/Graph/SpillCost.hs +++ b/compiler/nativeGen/RegAlloc/Graph/SpillCost.hs @@ -28,7 +28,7 @@ import UniqFM import UniqSet import Digraph (flattenSCCs) import Outputable -import Platform +import GHC.Platform import State import CFG diff --git a/compiler/nativeGen/RegAlloc/Graph/TrivColorable.hs b/compiler/nativeGen/RegAlloc/Graph/TrivColorable.hs index 8db80ef064..5d4fd418c3 100644 --- a/compiler/nativeGen/RegAlloc/Graph/TrivColorable.hs +++ b/compiler/nativeGen/RegAlloc/Graph/TrivColorable.hs @@ -16,7 +16,7 @@ import Reg import GraphBase import UniqSet -import Platform +import GHC.Platform import Panic -- trivColorable --------------------------------------------------------------- |