diff options
author | Alex Light <allight@google.com> | 2020-09-23 15:04:36 -0700 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2020-09-25 04:46:32 +0000 |
commit | 5ba66998281af9719e5d5ef84fd095181d4cf9a8 (patch) | |
tree | 96d6b307af969eade69f390a1af3ab623523b8a1 /compiler/optimizing/graph_visualizer.cc | |
parent | 6076b6959ac6dd2f5f6c93d119b37899f70a30a8 (diff) |
Refactor Escape-analysis to use visitors
The current escape-analysis is entirely built around finding a single
'does-escape' boolean (and a few ancillary booleans). This change adds
a new VisitEscapes function that allows one to more easily track which
instructions cause escapes and rewrites the other escape-analysis
functions in terms of this VisitEscapes function.
Test: ./test.py --host
Bug: 67037140
Change-Id: Ie5ad7580544be21713d040c2943cae19ff5414d4
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions