[commit: ghc] wip/rae: Refactor BranchLists. (124eb13)

git at git.haskell.org git at git.haskell.org
Mon Sep 21 14:52:29 UTC 2015


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

On branch  : wip/rae
Link       : http://ghc.haskell.org/trac/ghc/changeset/124eb138caa5e5a080f4c90c31985800390e7b55/ghc

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

commit 124eb138caa5e5a080f4c90c31985800390e7b55
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date:   Sat Sep 19 23:59:22 2015 -0400

    Refactor BranchLists.
    
    Now we use Array to store branches. This makes sense because we often
    have to do random access (once inference is done). This also vastly
    simplifies the awkward BranchList type.
    
    This fixes #10837.


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

124eb138caa5e5a080f4c90c31985800390e7b55
 compiler/coreSyn/CoreLint.hs     |   2 +-
 compiler/iface/MkIface.hs        |  11 +--
 compiler/iface/TcIface.hs        |   2 +-
 compiler/typecheck/FamInst.hs    |  13 ++--
 compiler/typecheck/TcInteract.hs |   4 +-
 compiler/typecheck/TcRnDriver.hs |   7 +-
 compiler/typecheck/TcSplice.hs   |   3 +-
 compiler/typecheck/TcType.hs     |   6 +-
 compiler/typecheck/TcValidity.hs |   5 +-
 compiler/types/CoAxiom.hs        | 164 +++++++++++++++------------------------
 compiler/types/Coercion.hs       |   4 +-
 compiler/types/FamInstEnv.hs     |  34 ++++----
 12 files changed, 111 insertions(+), 144 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 124eb138caa5e5a080f4c90c31985800390e7b55


More information about the ghc-commits mailing list