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

git at git.haskell.org git at git.haskell.org
Mon Jul 18 17:58:54 UTC 2016


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

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

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

commit da8e7142ba480058638657393c5d698cf8e147f0
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


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

da8e7142ba480058638657393c5d698cf8e147f0
 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 da8e7142ba480058638657393c5d698cf8e147f0


More information about the ghc-commits mailing list