aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Process.cpp
diff options
context:
space:
mode:
authorIgor Laevsky <igmyrj@gmail.com>2016-05-04 14:55:36 +0000
committerIgor Laevsky <igmyrj@gmail.com>2016-05-04 14:55:36 +0000
commitfb1811d3a0b771ef0c340687d6d8ebcddde0aaef (patch)
tree3dbdec73d0562dbc7d858bacf518fe1e41ac35e8 /llvm/lib/Support/Process.cpp
parentebb04b9eb614fb8ee59938b66400f77a785e156f (diff)
downloadllvm-fb1811d3a0b771ef0c340687d6d8ebcddde0aaef.zip
llvm-fb1811d3a0b771ef0c340687d6d8ebcddde0aaef.tar.gz
llvm-fb1811d3a0b771ef0c340687d6d8ebcddde0aaef.tar.bz2
[RS4GC] Use SetVector/MapVector instead of DenseSet/DenseMap to guarantee stable ordering
Goal of this change is to guarantee stable ordering of the statepoint arguments and other newly inserted values such as gc.relocates. Previously we had explicit sorting in a couple of places. However for unnamed values ordering was partial and overall we didn't have any strong invariant regarding it. This change switches all data structures to use SetVector's and MapVector's which provide possibility for deterministic iteration over them. Explicit sorting is now redundant and was removed. Differential Revision: http://reviews.llvm.org/D19669 llvm-svn: 268502
Diffstat (limited to 'llvm/lib/Support/Process.cpp')
0 files changed, 0 insertions, 0 deletions