summaryrefslogtreecommitdiff
path: root/compiler/GHC/StgToCmm
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/StgToCmm
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/StgToCmm')
-rw-r--r--compiler/GHC/StgToCmm/Ticky.hs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/GHC/StgToCmm/Ticky.hs b/compiler/GHC/StgToCmm/Ticky.hs
index a538ff2f4d..c322e99a0f 100644
--- a/compiler/GHC/StgToCmm/Ticky.hs
+++ b/compiler/GHC/StgToCmm/Ticky.hs
@@ -115,8 +115,6 @@ module GHC.StgToCmm.Ticky (
import GHC.Prelude
-import GHC.Driver.Session
-
import GHC.Platform
import GHC.Platform.Profile