[commit: ghc] master: Remove runSTRep from PrelNames (81fffc4)

git at git.haskell.org git at git.haskell.org
Mon Jul 27 11:49:16 UTC 2015


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

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

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

commit 81fffc4b951ff9c6073ca57dbd27f7f29c6ad306
Author: Reid Barton <rwbarton at gmail.com>
Date:   Mon Jul 27 13:20:01 2015 +0200

    Remove runSTRep from PrelNames
    
    It has no special treatment in the compiler any more. The last use
    was removed in 99d4e5b4a0bd "Implement cardinality analysis".
    
    Test Plan: validate
    
    Reviewers: austin, bgamari, simonpj
    
    Reviewed By: simonpj
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D1099


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

81fffc4b951ff9c6073ca57dbd27f7f29c6ad306
 compiler/prelude/PrelNames.hs | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/compiler/prelude/PrelNames.hs b/compiler/prelude/PrelNames.hs
index 32c133d..23d5000 100644
--- a/compiler/prelude/PrelNames.hs
+++ b/compiler/prelude/PrelNames.hs
@@ -288,7 +288,7 @@ basicKnownKeyNames
         otherwiseIdName, inlineIdName,
         eqStringName, assertName, breakpointName, breakpointCondName,
         breakpointAutoName,  opaqueTyConName,
-        assertErrorName, runSTRepName,
+        assertErrorName,
         printName, fstName, sndName,
 
         -- Integer
@@ -1132,10 +1132,6 @@ stablePtrTyConName, newStablePtrName :: Name
 stablePtrTyConName    = tcQual   gHC_STABLE (fsLit "StablePtr")    stablePtrTyConKey
 newStablePtrName      = varQual  gHC_STABLE (fsLit "newStablePtr") newStablePtrIdKey
 
--- PrelST module
-runSTRepName :: Name
-runSTRepName       = varQual gHC_ST  (fsLit "runSTRep") runSTRepIdKey
-
 -- Recursive-do notation
 monadFixClassName, mfixName :: Name
 monadFixClassName  = clsQual mONAD_FIX (fsLit "MonadFix") monadFixClassKey
@@ -1665,7 +1661,7 @@ typeErrorIdKey                = mkPreludeMiscIdUnique 22
 unsafeCoerceIdKey, concatIdKey, filterIdKey, zipIdKey, bindIOIdKey,
     returnIOIdKey, newStablePtrIdKey,
     printIdKey, failIOIdKey, nullAddrIdKey, voidArgIdKey,
-    fstIdKey, sndIdKey, otherwiseIdKey, assertIdKey, runSTRepIdKey :: Unique
+    fstIdKey, sndIdKey, otherwiseIdKey, assertIdKey :: Unique
 unsafeCoerceIdKey             = mkPreludeMiscIdUnique 30
 concatIdKey                   = mkPreludeMiscIdUnique 31
 filterIdKey                   = mkPreludeMiscIdUnique 32
@@ -1681,7 +1677,6 @@ fstIdKey                      = mkPreludeMiscIdUnique 41
 sndIdKey                      = mkPreludeMiscIdUnique 42
 otherwiseIdKey                = mkPreludeMiscIdUnique 43
 assertIdKey                   = mkPreludeMiscIdUnique 44
-runSTRepIdKey                 = mkPreludeMiscIdUnique 45
 
 mkIntegerIdKey, smallIntegerIdKey, wordToIntegerIdKey,
     integerToWordIdKey, integerToIntIdKey,



More information about the ghc-commits mailing list