diff options
author | Joachim Breitner <mail@joachim-breitner.de> | 2021-10-13 19:43:42 +0200 |
---|---|---|
committer | Joachim Breitner <mail@joachim-breitner.de> | 2021-10-14 00:12:21 +0200 |
commit | 9e870c79c014db66f8d5c8400d03bc5e1d98c4b7 (patch) | |
tree | 2cd12abfb5c33f92ce2f934b40c409a2a5c953cd /compiler/GHC/Runtime/Eval.hs | |
parent | 19cd403bced51bc27a11f0257c25497154e86889 (diff) | |
download | haskell-wip/joachim/breakinfo-module.tar.gz |
Move BreakInfo into own modulewip/joachim/breakinfo-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.hs | 1 |
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 |