forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migration: fix a corner case of post-dominator analysis.
When the variable on the LHS of an assignment expression also appears in its RHS, we want the RHS to contribute to generation of hard edges, because the RHS is evaluated prior to the assignment. To achieve this we need to remove the LHS variable from post-dominator scopes after visiting the RHS. Change-Id: Ifef9d69356e78e43f77ef456101b335ba3238312 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/116059 Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
- Loading branch information
1 parent
23d2893
commit daaa665
Showing
2 changed files
with
15 additions
and
1 deletion.
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
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