summaryrefslogtreecommitdiff
path: root/compiler/GHC/Plugins/Monad.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Plugins/Monad.hs')
-rw-r--r--compiler/GHC/Plugins/Monad.hs6
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/GHC/Plugins/Monad.hs b/compiler/GHC/Plugins/Monad.hs
index 87e41522fd..ad2cd9b2fd 100644
--- a/compiler/GHC/Plugins/Monad.hs
+++ b/compiler/GHC/Plugins/Monad.hs
@@ -18,7 +18,6 @@ module GHC.Plugins.Monad (
getHscEnv, getModule,
getRuleBase, getExternalRuleBase,
getDynFlags, getPackageFamInstEnv,
- getInteractiveContext,
getVisibleOrphanMods, getUniqMask,
getPrintUnqualified, getSrcSpanM,
@@ -48,8 +47,6 @@ import GHC.Core.Opt.Stats
( SimplCount, zeroSimplCount, plusSimplCount
)
-import GHC.Runtime.Context ( InteractiveContext )
-
import GHC.Types.Unique.Supply
import GHC.Types.Name.Env
import GHC.Types.SrcLoc
@@ -273,9 +270,6 @@ instance HasLogger CoreM where
instance HasModule CoreM where
getModule = read cr_module
-getInteractiveContext :: CoreM InteractiveContext
-getInteractiveContext = hsc_IC <$> getHscEnv
-
getPackageFamInstEnv :: CoreM PackageFamInstEnv
getPackageFamInstEnv = eps_fam_inst_env <$> get_eps