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

git at git.haskell.org git at git.haskell.org
Sun Sep 20 03:59:33 UTC 2015


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

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

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

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


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

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


More information about the ghc-commits mailing list