-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compiler alias analysis: Fix repeated argument bug
When the same variable occurs multiple times in the argument list to a call, that variable should become aliased. This patch corrects the above described omission by renaming the current aa_alias_surviving_args/4 to aa_alias_surviving_phi_args/4 which we use for Phi-instructions and creating a new aa_alias_surviving_args/4 (for calls) which makes use of aa_alias_surviving_phi_args/4 but also does a second pass through the argument list to find repeated variables.
- Loading branch information
Showing
2 changed files
with
42 additions
and
7 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
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