diff options
author | 2022-11-28 11:49:16 +0000 | |
---|---|---|
committer | 2022-11-28 17:07:58 +0000 | |
commit | e22e84bd127520b33d56bf0ad62aa2b99be06de3 (patch) | |
tree | 1d06489abc525eb5b461c276aac3fb70c65f0a04 /dex2oat/driver/compiler_driver.cc | |
parent | 263883a3d710c6cb3d683defb5c5da340ee5f88d (diff) |
Update domination tree when removing tries, if the catch doesn't exit
When eliminating the unnecessary try and its catch block we turn the
TryBoundary instructions into Goto instructions. If one of these
instructions is pointing to the exit block, we use its single
predecessor instead. If this TryBoundary-turned-into-Goto instruction
was the only one pointing to the Exit, we also have to update the dominators.
Bug: 260387991
Fixes: 260387991
Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b
Test: dex2oat compiling the app in the bug
Change-Id: If05b60e81b2441c4c2235ffad7649813b98d3d69
Diffstat (limited to 'dex2oat/driver/compiler_driver.cc')
0 files changed, 0 insertions, 0 deletions