diff options
author | Roland Levillain <rpl@google.com> | 2014-10-06 19:24:02 +0100 |
---|---|---|
committer | Roland Levillain <rpl@google.com> | 2014-10-08 15:25:11 +0100 |
commit | 93445689c714e53cabf347da4321ecf3023e926c (patch) | |
tree | 459c38b3c12b335358278b745f431e68c18d0824 /compiler/optimizing/graph_visualizer.h | |
parent | 50940ea8fe668a80c15920d98cae228851ceb990 (diff) |
Fix and improve static evaluation of constant expressions.
- Fix the definition of art::HSub::Evaluate.
- Qualify Evaluate methods as OVERRIDE.
- Evaluate comparisons in a deterministic way: if a
comparison is true, always return 1 (instead of letting
the compiler return any non-null value).
- Better exercise static evaluation of constant expressions
in compiler/optimizing/constant_propagation_test.cc.
Change-Id: I13d0862e5f4eba1275016fb8c3c17e9aff54408b
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
0 files changed, 0 insertions, 0 deletions