diff options
author | Vladimir Marko <vmarko@google.com> | 2014-11-12 17:02:02 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2014-11-14 18:09:56 +0000 |
commit | d577748c041aa6df599218f3cb31697ecf032730 (patch) | |
tree | ffa397300b8ee367cd7153a4482df26db64639e6 /compiler/optimizing/graph_visualizer.h | |
parent | 59321e0e10ea09694efecf6154704e2743b9bffd (diff) |
Fix LinkFieldsComparator.
Define order for primitive types with the same sizes.
Previously, the comparator would consider the fields equal
so the order would depend on std::sort() implementation.
Changing the STL implementation could silently change the
field offsets. (And, unlike std::stable_sort(), the
std::sort() doesn't even need to be deterministic.)
Change-Id: I91fa562f82447606aced64643bea8c70784766b5
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
0 files changed, 0 insertions, 0 deletions