[commit: ghc] master: Split TrieMap into a general (TrieMap) and core specific (CoreTrieMap) module. (426ae98)

git at git.haskell.org git at git.haskell.org
Sat May 5 17:26:57 UTC 2018


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/426ae98852be498fa87d10e4c88ba8d726d6b320/ghc

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

commit 426ae98852be498fa87d10e4c88ba8d726d6b320
Author: klebinger.andreas at gmx.at <klebinger.andreas at gmx.at>
Date:   Thu May 3 16:20:03 2018 -0400

    Split TrieMap into a general (TrieMap) and core specific (CoreTrieMap) module.
    
    Splitting TrieMap into a general and core specific part allows us to
    define instances for TrieMap without creating a transitive dependency on
    CoreSyn.
    
    Test Plan: ci
    
    Reviewers: goldfire, bgamari, simonmar, simonpj
    
    Reviewed By: bgamari, simonpj
    
    Subscribers: simonpj, nomeata, thomie, carter
    
    GHC Trac Issues: #15082
    
    Differential Revision: https://phabricator.haskell.org/D4618


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

426ae98852be498fa87d10e4c88ba8d726d6b320
 compiler/coreSyn/{TrieMap.hs => CoreMap.hs} | 392 ++-------------------------
 compiler/ghc.cabal.in                       |   1 +
 compiler/simplCore/CSE.hs                   |   2 +-
 compiler/simplStg/StgCse.hs                 |   2 +-
 compiler/typecheck/TcSMonad.hs              |   2 +-
 compiler/typecheck/TcTypeable.hs            |   2 +-
 compiler/types/FamInstEnv.hs                |   2 +-
 compiler/utils/TrieMap.hs                   | 405 ++++++++++++++++++++++++++++
 8 files changed, 438 insertions(+), 370 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 426ae98852be498fa87d10e4c88ba8d726d6b320


More information about the ghc-commits mailing list