[commit: ghc] master: RnEnv cleanup (bb3712b)

git at git.haskell.org git at git.haskell.org
Wed Apr 12 18:53:25 UTC 2017


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

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

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

commit bb3712bf772fecb965f56a356ccf61437d324dcf
Author: Matthew Pickering <matthewtpickering at gmail.com>
Date:   Wed Apr 12 14:06:15 2017 -0400

    RnEnv cleanup
    
    unless (not ..) -> when
    
    Remove unused getLookupOccRn
    
    Remove lookupGreRn2
    
    It was only called in one place in a very strange way. It is easier
    to just use lookupGreRn which has nearly the same implementation and
    then directly call `unboundName`.
    
    Remove unused function mapFvRnCPS
    
    Remove unused functions bindLocatedLocalsRn and bindLocatedLocalsFV
    
    Reviewers: austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D3435


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

bb3712bf772fecb965f56a356ccf61437d324dcf
 compiler/rename/RnEnv.hs | 141 ++++++++++++++++++++++-------------------------
 1 file changed, 66 insertions(+), 75 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 bb3712bf772fecb965f56a356ccf61437d324dcf


More information about the ghc-commits mailing list