diff options
author | David Srbecky <dsrbecky@google.com> | 2016-03-11 16:54:22 +0000 |
---|---|---|
committer | David Srbecky <dsrbecky@google.com> | 2016-03-11 17:30:57 +0000 |
commit | b14a5ede4b232d5f7709001d1e0b90e6910d9306 (patch) | |
tree | 68fb0485ed511f7f8db178ef4bbb3b495fcd7651 /compiler/optimizing/graph_visualizer.h | |
parent | 60e10c8564f47de0b7f29b26d040c591d5a396b5 (diff) |
Minor optimizations of debug::WriteCFISection.
The method might be passed method infos without CFI in some cases.
Use the sorting phase as a chance to filter them out.
This makes sure we do not allocate memory and sort methods if there
is in fact no work to do.
Also change the sort to stable - for the sake of determinism.
Change-Id: I97d57d77e8b709d0d49d6971f66b955efcbb57b0
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
0 files changed, 0 insertions, 0 deletions