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

Simon Peyton-Jones simonpj at microsoft.com
Mon Sep 2 12:16:58 CEST 2013


This patch makes an interface-file format change, so you'll need to blow away your build tree when you pull it.

Simon

| -----Original Message-----
| From: ghc-commits [mailto:ghc-commits-bounces at haskell.org] On Behalf Of
| git at git.haskell.org
| Sent: 02 September 2013 11:13
| To: ghc-commits at haskell.org
| Subject: [commit: ghc] master: Remove the final vestiges of
| InlineWrappers (e4a1d2d)
| 
| Repository : ssh://git@git.haskell.org/ghc
| 
| On branch  : master
| Link       :
| http://ghc.haskell.org/trac/ghc/changeset/e4a1d2d0a71bf335a04eaf93deb440
| b709f9430e/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
| 
| _______________________________________________
| ghc-commits mailing list
| ghc-commits at haskell.org
| http://www.haskell.org/mailman/listinfo/ghc-commits




More information about the ghc-devs mailing list