summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Env
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-01-12 14:56:41 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-02-22 18:27:00 -0500
commitfd0945b7bfa1e36ca79d74f8e6e0918a66d62608 (patch)
treea57bd43ad0b6d87e69f36e52802d28d9c4de5076 /compiler/GHC/Driver/Env
parentece202297454862717cef8c06d445f8405845b28 (diff)
downloadhaskell-fd0945b7bfa1e36ca79d74f8e6e0918a66d62608.tar.gz
Move Hooks into HscEnv
Diffstat (limited to 'compiler/GHC/Driver/Env')
-rw-r--r--compiler/GHC/Driver/Env/Types.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/GHC/Driver/Env/Types.hs b/compiler/GHC/Driver/Env/Types.hs
index cbd63c27cb..e541dfe544 100644
--- a/compiler/GHC/Driver/Env/Types.hs
+++ b/compiler/GHC/Driver/Env/Types.hs
@@ -4,6 +4,7 @@ module GHC.Driver.Env.Types
, HscEnv(..)
) where
+import {-# SOURCE #-} GHC.Driver.Hooks
import GHC.Driver.Session ( DynFlags, HasDynFlags(..) )
import GHC.Linker.Types ( Loader )
import GHC.Prelude
@@ -155,5 +156,8 @@ data HscEnv
, hsc_logger :: !Logger
-- ^ Logger
+
+ , hsc_hooks :: !Hooks
+ -- ^ Hooks
}