[commit: ghc] master: Remove the final vestiges of InlineWrappers (e4a1d2d)

git at git.haskell.org git at git.haskell.org
Mon Sep 2 12:12:52 CEST 2013


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

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

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

commit e4a1d2d0a71bf335a04eaf93deb440b709f9430e
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Mon Sep 2 09:46:59 2013 +0100

    Remove the final vestiges of InlineWrappers
    
    Part of Nick Frisby's patch (c080f727ba5f83921b842fcff71e9066adbdc250)
    for late demand-analysis removed the over-zealous short-cut whereby
    strictness wrappers were not spelled out in detail in interface files.
    
    This patch completes the process by
     * removing InlineWrapper from UnfoldingSource
     * removing IfWrapper from IfaceUnfolding
    
    There was a tiny bit of special ad-hocery for wrappers, in OccurAnal,
    but fortunately that too turns out to be rendered irrelevant by
    the more uniform treatment, and after that there was no need
    to remember which functions are wrappers.


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

e4a1d2d0a71bf335a04eaf93deb440b709f9430e
 compiler/coreSyn/CoreSyn.lhs     |   31 ++++++++++++-----
 compiler/coreSyn/CoreUnfold.lhs  |    2 +-
 compiler/coreSyn/PprCore.lhs     |    1 -
 compiler/iface/IfaceSyn.lhs      |   15 ++------
 compiler/iface/MkIface.lhs       |    1 -
 compiler/iface/TcIface.lhs       |   29 ----------------
 compiler/simplCore/OccurAnal.lhs |   70 ++++++++++++++++++++------------------
 7 files changed, 63 insertions(+), 86 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 e4a1d2d0a71bf335a04eaf93deb440b709f9430e




More information about the ghc-commits mailing list