summaryrefslogtreecommitdiff
path: root/compiler/GHC.hs
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-03-30 16:31:20 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-04-01 00:40:07 -0400
commit85d7056a53fc4c985753864107152f02095a5d6d (patch)
tree42317f87b4cda54d3e9f493a4cb2d6b278213594 /compiler/GHC.hs
parent7acfb61777caa5f44f5c34c79ef983c9b303191f (diff)
downloadhaskell-85d7056a53fc4c985753864107152f02095a5d6d.tar.gz
Move the EPS into UnitEnv
Diffstat (limited to 'compiler/GHC.hs')
-rw-r--r--compiler/GHC.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/GHC.hs b/compiler/GHC.hs
index 23e74fb35a..f77ab69532 100644
--- a/compiler/GHC.hs
+++ b/compiler/GHC.hs
@@ -686,6 +686,7 @@ setSessionDynFlags dflags0 = do
, ue_namever = ghcNameVersion dflags
, ue_home_unit = Just home_unit
, ue_hpt = ue_hpt old_unit_env
+ , ue_eps = ue_eps old_unit_env
, ue_units = unit_state
, ue_unit_dbs = Just dbs
}
@@ -723,6 +724,7 @@ setProgramDynFlags_ invalidate_needed dflags = do
, ue_namever = ghcNameVersion dflags'
, ue_home_unit = Just home_unit
, ue_hpt = ue_hpt old_unit_env
+ , ue_eps = ue_eps old_unit_env
, ue_units = unit_state
, ue_unit_dbs = Just dbs
}