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

git at git.haskell.org git at git.haskell.org
Sun Sep 20 20:28:17 UTC 2015


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

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

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

commit 6974baa4118c623b2ae42f205a1dd857c5849af7
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.


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

6974baa4118c623b2ae42f205a1dd857c5849af7
 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 6974baa4118c623b2ae42f205a1dd857c5849af7


More information about the ghc-commits mailing list