[commit: ghc] wip/spj-early-inline: Refactor floating of bindings (fiBind) (67a0c18)

git at git.haskell.org git at git.haskell.org
Fri Feb 17 16:28:00 UTC 2017


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

On branch  : wip/spj-early-inline
Link       : http://ghc.haskell.org/trac/ghc/changeset/67a0c1872c0515f1f12ea68097a84e02da92f45b/ghc

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

commit 67a0c1872c0515f1f12ea68097a84e02da92f45b
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Feb 14 12:18:38 2017 +0000

    Refactor floating of bindings (fiBind)
    
    This is just a local refactoring.
    
    I originally planned to try floating top-level bindings inwards,
    but I backed off from that leaving only this (harmless) refactoring,
    which has no behavioural effect.
    
    I also make FloatIn into a ModGuts -> ModGuts function; again not
    necessary now, but no harm either.
    
    My attempt also used the new function CoreFVs.freeVarsBind; but
    that too is a plausible refactorig of freeVars, so I left it in too.


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

67a0c1872c0515f1f12ea68097a84e02da92f45b
 compiler/coreSyn/CoreFVs.hs   |  57 +++++++-------
 compiler/simplCore/FloatIn.hs | 173 +++++++++++++++++++++++-------------------
 2 files changed, 125 insertions(+), 105 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 67a0c1872c0515f1f12ea68097a84e02da92f45b


More information about the ghc-commits mailing list