summaryrefslogtreecommitdiff
path: root/compiler/ghc.cabal.in
diff options
context:
space:
mode:
authorSebastian Graf <sebastian.graf@kit.edu>2021-01-10 18:49:13 +0100
committerSebastian Graf <sebastian.graf@kit.edu>2021-01-11 09:44:04 +0100
commit3a115330a2f36e23c2e49fe59952345b9360009b (patch)
treee696987a098bed01f12456b6c6d1a36a788c30e9 /compiler/ghc.cabal.in
parent62b305376391dc11a4084a3ed4a4f027626b00b6 (diff)
downloadhaskell-wip/ww-refactoring.tar.gz
WorkWrap: Explicit wantToUnbox* unboxing strategieswip/ww-refactoring
This is a refactoring that extracts a type synonym ```hs type UnboxingStrategy s = Type -> s -> UnboxingDecision s ``` from `GHC.Core.WorkWrap.Utils`, and gives two such strategies in the form of `wantToUnboxArg` and `wantToUnboxResult` there. This is all in order to underline the common bits in `mkWWstr_one` and `mkWWcpr`. I've put `UnboxingStrategy` into its own module `GHC.Types.Unbox`, because Nested CPR needs `GHC.Types.Cpr` to depend on it.
Diffstat (limited to 'compiler/ghc.cabal.in')
-rw-r--r--compiler/ghc.cabal.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in
index b7a68d8ba4..e5cfbdef6c 100644
--- a/compiler/ghc.cabal.in
+++ b/compiler/ghc.cabal.in
@@ -657,6 +657,7 @@ Library
GHC.Types.Target
GHC.Types.TypeEnv
GHC.Types.TyThing
+ GHC.Types.Unbox
GHC.Types.Unique
GHC.Types.Unique.DFM
GHC.Types.Unique.DSet