[commit: ghc] master: Cmm: remove a few unused type aliases (8429a20)

git at git.haskell.org git at git.haskell.org
Fri Mar 24 14:14:54 UTC 2017


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

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

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

commit 8429a202ec8aef0af226d3fb5907b47dc9cba155
Author: Michal Terepeta <michal.terepeta at gmail.com>
Date:   Thu Mar 23 21:00:24 2017 -0400

    Cmm: remove a few unused type aliases
    
    Test Plan: ./validate
    
    Reviewers: austin, bgamari, simonmar
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D3372


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

8429a202ec8aef0af226d3fb5907b47dc9cba155
 compiler/cmm/Cmm.hs | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/compiler/cmm/Cmm.hs b/compiler/cmm/Cmm.hs
index 39c2d39..d2ee531 100644
--- a/compiler/cmm/Cmm.hs
+++ b/compiler/cmm/Cmm.hs
@@ -14,9 +14,6 @@ module Cmm (
      GenBasicBlock(..), blockId,
      ListGraph(..), pprBBlock,
 
-     -- * Cmm graphs
-     CmmReplGraph, GenCmmReplGraph, CmmFwdRewrite, CmmBwdRewrite,
-
      -- * Info Tables
      CmmTopInfo(..), CmmStackInfo(..), CmmInfoTable(..), topInfoTable,
      ClosureTypeInfo(..),
@@ -33,7 +30,6 @@ import BlockId
 import CmmNode
 import SMRep
 import CmmExpr
-import UniqSupply
 import Compiler.Hoopl
 import Outputable
 
@@ -105,11 +101,6 @@ type CmmGraph = GenCmmGraph CmmNode
 data GenCmmGraph n = CmmGraph { g_entry :: BlockId, g_graph :: Graph n C C }
 type CmmBlock = Block CmmNode C C
 
-type CmmReplGraph e x = GenCmmReplGraph CmmNode e x
-type GenCmmReplGraph n e x = UniqSM (Maybe (Graph n e x))
-type CmmFwdRewrite f = FwdRewrite UniqSM CmmNode f
-type CmmBwdRewrite f = BwdRewrite UniqSM CmmNode f
-
 -----------------------------------------------------------------------------
 --     Info Tables
 -----------------------------------------------------------------------------



More information about the ghc-commits mailing list