[commit: ghc] master: Remove deprecated reinitializeGlobals (c045bd7)

git at git.haskell.org git at git.haskell.org
Wed Mar 20 05:10:56 UTC 2019


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/c045bd7cfaef2f4b6753e5a19637a658dce9e58d/ghc

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

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

    Remove deprecated reinitializeGlobals


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

c045bd7cfaef2f4b6753e5a19637a658dce9e58d
 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