diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2022-02-04 03:00:12 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-02-06 01:44:32 -0500 |
commit | 37d435d263832ffb2808dad0ccd50110c9f0c430 (patch) | |
tree | 0c3d046be6575f184cb4e768e2611b31db4d355a /compiler/GHC/Platform.hs | |
parent | 633296bca950f0ef17313f8487d2f5ddd369bc4f (diff) | |
download | haskell-37d435d263832ffb2808dad0ccd50110c9f0c430.tar.gz |
Purge DynFlags from GHC.Stg
Also derive some more instances. GHC doesn't need them, but downstream
consumers may need to e.g. put stuff in maps.
Diffstat (limited to 'compiler/GHC/Platform.hs')
-rw-r--r-- | compiler/GHC/Platform.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Platform.hs b/compiler/GHC/Platform.hs index 4faf20d24e..0c2e6df5c4 100644 --- a/compiler/GHC/Platform.hs +++ b/compiler/GHC/Platform.hs @@ -82,7 +82,7 @@ data Platform = Platform , platform_constants :: !(Maybe PlatformConstants) -- ^ Constants such as structure offsets, type sizes, etc. } - deriving (Read, Show, Eq) + deriving (Read, Show, Eq, Ord) platformConstants :: Platform -> PlatformConstants platformConstants platform = case platform_constants platform of |