[commit: ghc] wip/spj-early-inline4: Inline data constructor wrappers in phase 2 only (ee22201)
git at git.haskell.org
git at git.haskell.org
Sun Feb 26 18:06:04 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/spj-early-inline4
Link : http://ghc.haskell.org/trac/ghc/changeset/ee22201cab0aced0ef0dca634179ad99f1ea8123/ghc
>---------------------------------------------------------------
commit ee22201cab0aced0ef0dca634179ad99f1ea8123
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Tue Feb 14 13:49:13 2017 +0000
Inline data constructor wrappers in phase 2 only
This patch prepares for my upcoming early-inlining patch. It arranges
that data constructor wrappers are not inlined until Phase 2 (the
first of the "normal" phases.) That gives rules a chance to fire
in the InitialPhase (aka "gentle").
This has been a bit of a problem for a while, so it's nice to have
a fix. It should make no difference immediately, becuase currently
nothing is inlined in the InitialPhase anyway.
>---------------------------------------------------------------
ee22201cab0aced0ef0dca634179ad99f1ea8123
compiler/basicTypes/MkId.hs | 22 +++-
.../tests/deSugar/should_compile/T2431.stderr | 46 ++++----
.../tests/simplCore/should_compile/T7360.stderr | 120 ++++++++++-----------
3 files changed, 103 insertions(+), 85 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 ee22201cab0aced0ef0dca634179ad99f1ea8123
More information about the ghc-commits
mailing list