Replace Digraph's Node type synonym with a data type
authorMatthew Pickering <matthewtpickering@gmail.com>
Wed, 5 Apr 2017 01:47:29 +0000 (21:47 -0400)
committerBen Gamari <ben@smart-cactus.org>
Wed, 5 Apr 2017 01:47:51 +0000 (21:47 -0400)
commit1831aed16d9883b2845fa6997e38b9ac3d72f191
tree5f18307cfda76206dc74f15f0678039e667d2427
parent5315223683b64c665959781112f8206fb8230a54
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
17 files changed:
compiler/basicTypes/NameEnv.hs
compiler/cmm/CmmBuildInfoTables.hs
compiler/codeGen/StgCmmUtils.hs
compiler/iface/MkIface.hs
compiler/main/GhcMake.hs
compiler/nativeGen/AsmCodeGen.hs
compiler/nativeGen/RegAlloc/Linear/JoinToTargets.hs
compiler/nativeGen/RegAlloc/Liveness.hs
compiler/rename/RnSource.hs
compiler/simplCore/OccurAnal.hs
compiler/typecheck/TcBinds.hs
compiler/typecheck/TcEvidence.hs
compiler/typecheck/TcSMonad.hs
compiler/types/Type.hs
compiler/utils/Digraph.hs
compiler/vectorise/Vectorise/Type/Classify.hs
testsuite/tests/determinism/determ001/determinism001.hs