summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
author Santiago Aboy Solanes <solanes@google.com> 2022-11-29 11:42:20 +0000
committer Santiago Aboy Solanes <solanes@google.com> 2022-11-29 13:49:32 +0000
commitfa55aa0b251f69dc3db5c9884c2a25d328128953 (patch)
treea7e5a5b973031b516fd59f26273ac7916b1f9004 /compiler/optimizing/graph_visualizer.cc
parent56fb841094902d736fc292605d7a7f5362b63741 (diff)
Update loop information correctly when removing tries
When removing tries we were relying on RemoveDeadBlocks to recompute the dominance and loop information. In some cases, the removed blocks are not part of the loop even though the removed try was part of a loop. In those cases, we have to update the loop information even when the deleted catch block is not part of a loop. In order to do that, we can add some parameters to RemoveDeadBlocks to force recomputation when we know it is needed. Bug: 252803203 Fixes: 252803203 Test: dex2oat compiling apps in the bug Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b Change-Id: Id54edd0d16cedc6b95fc312e2018cd0dab82f0ae
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions