summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.h
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2014-11-12 17:02:02 +0000
committerVladimir Marko <vmarko@google.com>2014-11-14 18:09:56 +0000
commitd577748c041aa6df599218f3cb31697ecf032730 (patch)
treeffa397300b8ee367cd7153a4482df26db64639e6 /compiler/optimizing/graph_visualizer.h
parent59321e0e10ea09694efecf6154704e2743b9bffd (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