[commit: ghc] wip/rae: Refactor BranchLists. (577c3ce)

git at git.haskell.org git at git.haskell.org
Mon Sep 21 01:50:42 UTC 2015


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

On branch  : wip/rae
Link       : http://ghc.haskell.org/trac/ghc/changeset/577c3ce18f2453c4911705e70ba0870171e75f99/ghc

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

commit 577c3ce18f2453c4911705e70ba0870171e75f99
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.


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

577c3ce18f2453c4911705e70ba0870171e75f99
 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 577c3ce18f2453c4911705e70ba0870171e75f99


More information about the ghc-commits mailing list