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

git at git.haskell.org git at git.haskell.org
Mon Jul 25 14:59:18 UTC 2016


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

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

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

commit 9b6fa58f486c84f0c5d49b6aa61072c7ae8e799c
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
    
    (cherry picked from commit 1937ef1c506b538f0f93cd290fa4a42fc85ab769)


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

9b6fa58f486c84f0c5d49b6aa61072c7ae8e799c
 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 9b6fa58f486c84f0c5d49b6aa61072c7ae8e799c


More information about the ghc-commits mailing list