[commit: ghc] wip/spj-early-inline4: Refactor floating of bindings (fiBind) (5c7068e)
git at git.haskell.org
git at git.haskell.org
Sun Feb 26 18:06:26 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/spj-early-inline4
Link : http://ghc.haskell.org/trac/ghc/changeset/5c7068eddacd8ba8e6e461c89215084b93131702/ghc
>---------------------------------------------------------------
commit 5c7068eddacd8ba8e6e461c89215084b93131702
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.
>---------------------------------------------------------------
5c7068eddacd8ba8e6e461c89215084b93131702
compiler/coreSyn/CoreFVs.hs | 57 +++++------
compiler/simplCore/FloatIn.hs | 173 ++++++++++++++++++---------------
compiler/simplCore/SimplCore.hs | 2 +-
testsuite/tests/perf/space_leaks/all.T | 5 +-
4 files changed, 129 insertions(+), 108 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 5c7068eddacd8ba8e6e461c89215084b93131702
More information about the ghc-commits
mailing list