summaryrefslogtreecommitdiff
path: root/compiler/GHC/Runtime/Eval.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/Runtime/Eval.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/Runtime/Eval.hs')
-rw-r--r--compiler/GHC/Runtime/Eval.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/GHC/Runtime/Eval.hs b/compiler/GHC/Runtime/Eval.hs
index bceb9a4159..a4ddbbfd4a 100644
--- a/compiler/GHC/Runtime/Eval.hs
+++ b/compiler/GHC/Runtime/Eval.hs
@@ -106,6 +106,7 @@ import GHC.Types.SrcLoc
import GHC.Types.Unique
import GHC.Types.Unique.Supply
import GHC.Types.TyThing
+import GHC.Types.BreakInfo
import GHC.Unit
import GHC.Unit.Module.Graph