[commit: ghc] master: Tidy up the commit for Trac #3725 (7996d8f)
git at git.haskell.org
git
Thu Oct 3 08:25:59 UTC 2013
Repository : ssh://git at git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/7996d8f45866ac8bdf1da189ca6ef1bc38bfe3eb/ghc
>---------------------------------------------------------------
commit 7996d8f45866ac8bdf1da189ca6ef1bc38bfe3eb
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Wed Oct 2 13:52:58 2013 +0100
Tidy up the commit for Trac #3725
In particular, the mi_ann_fn field in ModIface was only being used
totally locally in MkIface, so I made it local.
Other than that I just refactored data types slightly,
* Adding synonym Annotations.AnnPayload for the cryptic Serialized
* Adding MkIface.IfaceIdExtras to common up some of the identical code
>---------------------------------------------------------------
7996d8f45866ac8bdf1da189ca6ef1bc38bfe3eb
compiler/iface/IfaceSyn.lhs | 5 +--
compiler/iface/MkIface.lhs | 95 +++++++++++++++++++++++++-----------------
compiler/main/Annotations.hs | 12 +++---
compiler/main/HscTypes.lhs | 26 +-----------
4 files changed, 67 insertions(+), 71 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 7996d8f45866ac8bdf1da189ca6ef1bc38bfe3eb
More information about the ghc-commits
mailing list