[commit: ghc] master: Replace Digraph's Node type synonym with a data type (1831aed)

git at git.haskell.org git at git.haskell.org
Wed Apr 5 02:23:17 UTC 2017


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

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

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

commit 1831aed16d9883b2845fa6997e38b9ac3d72f191
Author: Matthew Pickering <matthewtpickering at gmail.com>
Date:   Tue Apr 4 21:47:29 2017 -0400

    Replace Digraph's Node type synonym with a data type
    
    This refactoring makes it more obvious when we are constructing
    a Node for the digraph rather than a less useful 3-tuple.
    
    Reviewers: austin, goldfire, bgamari, simonmar, dfeuer
    
    Reviewed By: dfeuer
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D3414


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

1831aed16d9883b2845fa6997e38b9ac3d72f191
 compiler/basicTypes/NameEnv.hs                     |  3 ++-
 compiler/cmm/CmmBuildInfoTables.hs                 |  3 ++-
 compiler/codeGen/StgCmmUtils.hs                    |  4 +--
 compiler/iface/MkIface.hs                          |  4 +--
 compiler/main/GhcMake.hs                           | 15 ++++++-----
 compiler/nativeGen/AsmCodeGen.hs                   | 14 +++++-----
 .../nativeGen/RegAlloc/Linear/JoinToTargets.hs     | 20 +++++++--------
 compiler/nativeGen/RegAlloc/Liveness.hs            | 20 +++++++--------
 compiler/rename/RnSource.hs                        |  5 ++--
 compiler/simplCore/OccurAnal.hs                    | 21 ++++++++-------
 compiler/typecheck/TcBinds.hs                      |  4 +--
 compiler/typecheck/TcEvidence.hs                   |  6 ++---
 compiler/typecheck/TcSMonad.hs                     |  4 +--
 compiler/types/Type.hs                             | 12 +++++----
 compiler/utils/Digraph.hs                          | 30 ++++++++++++----------
 compiler/vectorise/Vectorise/Type/Classify.hs      |  3 ++-
 .../tests/determinism/determ001/determinism001.hs  |  4 ++-
 17 files changed, 92 insertions(+), 80 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 1831aed16d9883b2845fa6997e38b9ac3d72f191


More information about the ghc-commits mailing list