[commit: ghc] master: Move InId/OutId to CoreSyn (05d233e)

git at git.haskell.org git at git.haskell.org
Wed Dec 21 14:06:48 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/05d233e8e18284cb98dc320bf58191ba4d86c754/ghc

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

commit 05d233e8e18284cb98dc320bf58191ba4d86c754
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Wed Dec 21 12:13:11 2016 +0000

    Move InId/OutId to CoreSyn
    
    It turned out that many different modules defined the same type
    synonyms (InId, OutId, InType, OutType, etc) for the same purpose.
    
    This patch is refactoring only: it moves all those definitions to
    CoreSyn.


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

05d233e8e18284cb98dc320bf58191ba4d86c754
 compiler/coreSyn/CoreLint.hs      | 16 ++-----------
 compiler/coreSyn/CoreSubst.hs     |  9 +------
 compiler/coreSyn/CoreSyn.hs       | 49 +++++++++++++++++++++++++++++++++++++--
 compiler/simplCore/CSE.hs         | 11 +--------
 compiler/simplCore/SetLevels.hs   |  5 ----
 compiler/simplCore/SimplEnv.hs    | 34 ---------------------------
 compiler/simplStg/UnariseStg.hs   |  2 --
 compiler/specialise/SpecConstr.hs |  9 -------
 8 files changed, 51 insertions(+), 84 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 05d233e8e18284cb98dc320bf58191ba4d86c754


More information about the ghc-commits mailing list