[commit: ghc] wip/D4170: Store ModIface exports in an array (667deaf)

git at git.haskell.org git at git.haskell.org
Mon Nov 13 20:56:13 UTC 2017


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

On branch  : wip/D4170
Link       : http://ghc.haskell.org/trac/ghc/changeset/667deafa5b13593eb91239856a5f0b8db2ca4d19/ghc

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

commit 667deafa5b13593eb91239856a5f0b8db2ca4d19
Author: Douglas Wilson <douglas.wilson at gmail.com>
Date:   Mon Nov 13 09:16:01 2017 +1300

    Store ModIface exports in an array
    
    Summary:
    To lessen cascading changes, the old field name mi_exports (returning a list) is
    exported as an accessor function and the field is replaced with mi_exports_arr.
    
    There are many more lists that would likely benefit from the same treatment,
    but one thing at a time.
    
    Test Plan: Check gipedia
    
    Reviewers: bgamari
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D4170


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

667deafa5b13593eb91239856a5f0b8db2ca4d19
 compiler/backpack/RnModIface.hs  |  4 ++--
 compiler/iface/LoadIface.hs      |  2 +-
 compiler/iface/MkIface.hs        |  5 ++++-
 compiler/main/HscTypes.hs        | 16 ++++++++++------
 compiler/prelude/PrelInfo.hs     |  8 ++++----
 compiler/typecheck/TcBackpack.hs |  3 ++-
 compiler/utils/Binary.hs         | 23 +++++++++++++++++++++++
 7 files changed, 46 insertions(+), 15 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 667deafa5b13593eb91239856a5f0b8db2ca4d19


More information about the ghc-commits mailing list