[commit: ghc] wip/rae: Refactor BranchLists. (7b0f7f3)

git at git.haskell.org git at git.haskell.org
Sun Sep 20 21:46:43 UTC 2015


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

On branch  : wip/rae
Link       : http://ghc.haskell.org/trac/ghc/changeset/7b0f7f32deec7a1eec1cd6113dbce32596eb14c6/ghc

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

commit 7b0f7f32deec7a1eec1cd6113dbce32596eb14c6
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.


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

7b0f7f32deec7a1eec1cd6113dbce32596eb14c6
 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 7b0f7f32deec7a1eec1cd6113dbce32596eb14c6


More information about the ghc-commits mailing list