summaryrefslogtreecommitdiff
path: root/compiler/GHC.hs
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2021-10-13 19:43:42 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-10-14 08:41:52 -0400
commit7f2ce0d6bc1404d6d91b3d8560efddc208f46a24 (patch)
treed0b39a5b6afb7a96635401ed2a51e7414f0654e0 /compiler/GHC.hs
parentdf016e4e74dbc9c0181b9fb28c29cec08a743ade (diff)
downloadhaskell-7f2ce0d6bc1404d6d91b3d8560efddc208f46a24.tar.gz
Move BreakInfo into own module
while working on GHCi stuff, e.g. `GHC.Runtime.Eval.Types`, I observed a fair amount of modules being recompiled that I didn’t expect to depend on this, from byte code interpreters to linkers. Turns out that the rather simple `BreakInfo` type is all these modules need from the `GHC.Runtime.Eval.*` hierarchy, so by moving that into its own file we make the dependency tree wider and shallower, which is probably worth it.
Diffstat (limited to 'compiler/GHC.hs')
-rw-r--r--compiler/GHC.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC.hs b/compiler/GHC.hs
index 0e4f781a29..0488ccad11 100644
--- a/compiler/GHC.hs
+++ b/compiler/GHC.hs
@@ -321,7 +321,6 @@ import GHC.ByteCode.Types
import qualified GHC.Linker.Loader as Loader
import GHC.Runtime.Loader
import GHC.Runtime.Eval
-import GHC.Runtime.Eval.Types
import GHC.Runtime.Interpreter
import GHC.Runtime.Context
import GHCi.RemoteTypes
@@ -387,6 +386,7 @@ import GHC.Types.TyThing
import GHC.Types.Name.Env
import GHC.Types.Name.Ppr
import GHC.Types.TypeEnv
+import GHC.Types.BreakInfo
import GHC.Unit
import GHC.Unit.Env