summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Session.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Driver/Session.hs')
-rw-r--r--compiler/GHC/Driver/Session.hs11
1 files changed, 0 insertions, 11 deletions
diff --git a/compiler/GHC/Driver/Session.hs b/compiler/GHC/Driver/Session.hs
index af0783d6a0..d776e639b2 100644
--- a/compiler/GHC/Driver/Session.hs
+++ b/compiler/GHC/Driver/Session.hs
@@ -162,7 +162,6 @@ module GHC.Driver.Session (
addPluginModuleName,
defaultDynFlags, -- Settings -> DynFlags
defaultWays,
- interpreterProfiled, interpreterDynamic,
initDynFlags, -- DynFlags -> IO DynFlags
defaultFatalMessager,
defaultLogAction,
@@ -1501,16 +1500,6 @@ defaultWays settings = if pc_DYNAMIC_BY_DEFAULT (sPlatformConstants settings)
then [WayDyn]
else []
-interpreterProfiled :: DynFlags -> Bool
-interpreterProfiled dflags
- | gopt Opt_ExternalInterpreter dflags = gopt Opt_SccProfilingOn dflags
- | otherwise = hostIsProfiled
-
-interpreterDynamic :: DynFlags -> Bool
-interpreterDynamic dflags
- | gopt Opt_ExternalInterpreter dflags = WayDyn `elem` ways dflags
- | otherwise = hostIsDynamic
-
--------------------------------------------------------------------------
--
-- Note [JSON Error Messages]