[commit: ghc] wip/ghc-8.0-det: Make UnitIdMap a deterministic map (16b7376)

git at git.haskell.org git at git.haskell.org
Thu Jul 14 13:54:20 UTC 2016


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

On branch  : wip/ghc-8.0-det
Link       : http://ghc.haskell.org/trac/ghc/changeset/16b73765e2a156366ef8f14fc39bcdea991a65d4/ghc

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

commit 16b73765e2a156366ef8f14fc39bcdea991a65d4
Author: Bartosz Nitka <niteria at gmail.com>
Date:   Mon Jun 6 08:54:17 2016 -0700

    Make UnitIdMap a deterministic map
    
    This impacts at least the order in which version macros are
    generated. It's pretty hard to track what kind of nondeterminism
    is benign and this should have no performance impact as the number
    of packages should be relatively small.
    
    Test Plan: ./validate
    
    Reviewers: simonmar, austin, bgamari, ezyang
    
    Reviewed By: ezyang
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D2308
    
    GHC Trac Issues: #4012


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

16b73765e2a156366ef8f14fc39bcdea991a65d4
 compiler/main/Packages.hs | 53 ++++++++++++++++++++++++-----------------------
 compiler/utils/UniqDFM.hs |  7 ++++++-
 2 files changed, 33 insertions(+), 27 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 16b73765e2a156366ef8f14fc39bcdea991a65d4


More information about the ghc-commits mailing list