-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an assert concerning branch to BBJ_CALLFINALLY blocks (#55858)
In the FEATURE_EH_CALLFINALLY_THUNKS case, BBJ_CALLFINALLY blocks live in the EH region enclosing the `try` block that needs to call the finally. However, we need all flow to the BBJ_CALLFINALLY to come from that try block; we don't want flow optimizations to otherwise branch directly to this BBJ_CALLFINALLY block. Add an assert to verify this is the case. The assert also covers the non-FEATURE_EH_CALLFINALLY_THUNKS case.
- Loading branch information
1 parent
e0024e2
commit c8f9a24
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters