summaryrefslogtreecommitdiff
path: root/compiler/GHC/Runtime
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2022-03-21 10:49:31 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-03-23 13:44:05 -0400
commit1a7cf0963e3511864013bbadfd1f01aaae16df80 (patch)
tree5927872f6878c33f1f3384fd18150298fb12cd9e /compiler/GHC/Runtime
parente6d0e287272e1f5ee46d80676a1df2ff65584dad (diff)
downloadhaskell-1a7cf0963e3511864013bbadfd1f01aaae16df80.tar.gz
Avoid redundant imports of GHC.Driver.Session
Remove GHC.Driver.Session imports that weren't considered as redundant because of the reexport of PlatformConstants. Also remove this reexport as modules using this datatype should import GHC.Platform instead.
Diffstat (limited to 'compiler/GHC/Runtime')
-rw-r--r--compiler/GHC/Runtime/Heap/Layout.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Runtime/Heap/Layout.hs b/compiler/GHC/Runtime/Heap/Layout.hs
index 3e6f6ed405..db114a6eae 100644
--- a/compiler/GHC/Runtime/Heap/Layout.hs
+++ b/compiler/GHC/Runtime/Heap/Layout.hs
@@ -47,11 +47,11 @@ module GHC.Runtime.Heap.Layout (
import GHC.Prelude
+import GHC.StgToCmm.Types
+
import GHC.Types.Basic( ConTagZ )
-import GHC.Driver.Session
import GHC.Platform
import GHC.Platform.Profile
-import GHC.StgToCmm.Types
import GHC.Utils.Outputable
import GHC.Utils.Panic