diff options
author | David Brazdil <dbrazdil@google.com> | 2015-11-05 21:25:24 +0000 |
---|---|---|
committer | David Brazdil <dbrazdil@google.com> | 2015-11-06 19:20:46 +0000 |
commit | 9bc436160b4af99067973affb0b1008de9a2b04c (patch) | |
tree | 160fba56aa8ba53a5db624c42c1936dd15a3cdf7 /compiler/optimizing/graph_visualizer.cc | |
parent | ef7ef4ce04a46405e15cd91115c6e657235adf83 (diff) |
ART: Fix simplification of catch blocks in the presence of dead code
Simplification of catch blocks transforms the code so that catch
blocks have only exceptional predecessors. However, it is invoked
before trivially dead code is eliminated which breaks simple
assumptions such as the fact that a catch block cannot start with
move-exception if it has non-exceptional predecessors. This patch
fixes the algorithm to work under these relaxed conditions.
Bug: 25494450
Bug: 25492628
Change-Id: Idc8d010102a4b8b9a6cd918b98d6e11d1838db0c
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions