[commit: ghc] wip/spj-early-inline2: Refactor floating of bindings (fiBind) (5e91669)

git at git.haskell.org git at git.haskell.org
Tue Feb 21 23:26:54 UTC 2017


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

On branch  : wip/spj-early-inline2
Link       : http://ghc.haskell.org/trac/ghc/changeset/5e91669c8ccbad353553d8e8308682e0e9e07c70/ghc

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

commit 5e91669c8ccbad353553d8e8308682e0e9e07c70
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.


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

5e91669c8ccbad353553d8e8308682e0e9e07c70
 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 5e91669c8ccbad353553d8e8308682e0e9e07c70


More information about the ghc-commits mailing list