[commit: ghc] wip/krzysztof-cleanups: Remove deprecated reinitializeGlobals (d3eae91)

git at git.haskell.org git at git.haskell.org
Tue Mar 19 05:04:37 UTC 2019


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/krzysztof-cleanups
Link       : http://ghc.haskell.org/trac/ghc/changeset/d3eae91414189e52f41f5b6a05c77ee7b56711ae/ghc

>---------------------------------------------------------------

commit d3eae91414189e52f41f5b6a05c77ee7b56711ae
Author: Krzysztof Gogolewski <krzysztof.gogolewski at tweag.io>
Date:   Mon Mar 18 19:36:26 2019 +0100

    Remove deprecated reinitializeGlobals


>---------------------------------------------------------------

d3eae91414189e52f41f5b6a05c77ee7b56711ae
 compiler/simplCore/CoreMonad.hs | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/compiler/simplCore/CoreMonad.hs b/compiler/simplCore/CoreMonad.hs
index 4cdb231..d99686a 100644
--- a/compiler/simplCore/CoreMonad.hs
+++ b/compiler/simplCore/CoreMonad.hs
@@ -37,9 +37,6 @@ module CoreMonad (
     liftIO, liftIOWithCount,
     liftIO1, liftIO2, liftIO3, liftIO4,
 
-    -- ** Global initialization
-    reinitializeGlobals,
-
     -- ** Dealing with annotations
     getAnnotations, getFirstAnnotations,
 
@@ -727,10 +724,6 @@ getPackageFamInstEnv = do
     eps <- liftIO $ hscEPS hsc_env
     return $ eps_fam_inst_env eps
 
-{-# DEPRECATED reinitializeGlobals "It is not necessary to call reinitializeGlobals. Since GHC 8.2, this function is a no-op and will be removed in GHC 8.4" #-}
-reinitializeGlobals :: CoreM ()
-reinitializeGlobals = return ()
-
 {-
 ************************************************************************
 *                                                                      *



More information about the ghc-commits mailing list