[commit: ghc] master: Make UnitIdMap a deterministic map (1937ef1)

git at git.haskell.org git at git.haskell.org
Mon Jun 6 17:31:22 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/1937ef1c506b538f0f93cd290fa4a42fc85ab769/ghc

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

commit 1937ef1c506b538f0f93cd290fa4a42fc85ab769
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


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

1937ef1c506b538f0f93cd290fa4a42fc85ab769
 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 1937ef1c506b538f0f93cd290fa4a42fc85ab769


More information about the ghc-commits mailing list