[commit: ghc] master: Remove most functions from cmm/BlockId (23dc6c4)

git at git.haskell.org git at git.haskell.org
Wed Nov 30 01:38:35 UTC 2016


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

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

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

commit 23dc6c459b61b400c7140ffc49b3b8b45a4a1159
Author: Michal Terepeta <michal.terepeta at gmail.com>
Date:   Tue Nov 29 17:49:27 2016 -0500

    Remove most functions from cmm/BlockId
    
    It seems that `BlockId` module could simply go away in favor
    of Hoopl's `Label`. This is the first step to do that.
    
    In a few places I had to add some type signatures, but most of
    them seem to help with code readability.
    
    Signed-off-by: Michal Terepeta <michal.terepeta at gmail.com>
    
    Test Plan: ./validate
    
    Reviewers: austin, simonmar, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D2765


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

23dc6c459b61b400c7140ffc49b3b8b45a4a1159
 compiler/cmm/BlockId.hs                         | 22 +++-------------------
 compiler/cmm/CmmContFlowOpt.hs                  |  2 +-
 compiler/cmm/CmmProcPoint.hs                    | 24 +++++++++++++++++++-----
 compiler/nativeGen/AsmCodeGen.hs                |  3 ++-
 compiler/nativeGen/RegAlloc/Graph/Spill.hs      |  6 +++---
 compiler/nativeGen/RegAlloc/Graph/SpillClean.hs |  2 +-
 compiler/nativeGen/RegAlloc/Linear/Main.hs      |  2 +-
 compiler/nativeGen/RegAlloc/Liveness.hs         | 10 +++++-----
 8 files changed, 35 insertions(+), 36 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 23dc6c459b61b400c7140ffc49b3b8b45a4a1159


More information about the ghc-commits mailing list