summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Session.hs
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/Session.hs
parentece202297454862717cef8c06d445f8405845b28 (diff)
downloadhaskell-fd0945b7bfa1e36ca79d74f8e6e0918a66d62608.tar.gz
Move Hooks into HscEnv
Diffstat (limited to 'compiler/GHC/Driver/Session.hs')
-rw-r--r--compiler/GHC/Driver/Session.hs5
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/GHC/Driver/Session.hs b/compiler/GHC/Driver/Session.hs
index 5e76da3490..7afcf7309c 100644
--- a/compiler/GHC/Driver/Session.hs
+++ b/compiler/GHC/Driver/Session.hs
@@ -231,7 +231,6 @@ import GHC.Unit.Types
import GHC.Unit.Parser
import GHC.Unit.Module
import GHC.Builtin.Names ( mAIN_NAME )
-import {-# SOURCE #-} GHC.Driver.Hooks
import GHC.Driver.Phases ( Phase(..), phaseInputExt )
import GHC.Driver.Flags
import GHC.Driver.Backend
@@ -551,9 +550,6 @@ data DynFlags = DynFlags {
-- ^ the @-ffrontend-opt@ flags given on the command line, in *reverse*
-- order that they're specified on the command line.
- -- GHC API hooks
- hooks :: Hooks,
-
-- For ghc -M
depMakefile :: FilePath,
depIncludePkgDeps :: Bool,
@@ -1172,7 +1168,6 @@ defaultDynFlags mySettings llvmConfig =
pluginModNames = [],
pluginModNameOpts = [],
frontendPluginOpts = [],
- hooks = emptyHooks,
outputFile_ = Nothing,
dynOutputFile_ = Nothing,