From fd0945b7bfa1e36ca79d74f8e6e0918a66d62608 Mon Sep 17 00:00:00 2001 From: Sylvain Henry Date: Tue, 12 Jan 2021 14:56:41 +0100 Subject: Move Hooks into HscEnv --- compiler/GHC/Driver/Session.hs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'compiler/GHC/Driver/Session.hs') 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, -- cgit v1.2.1