Skip to content

DeadObjectElimination: use InstructionDeleter to solve the instruction iterator invalidation problem #37762

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 4, 2021

Conversation

eeckstein
Copy link
Contributor

This simplifies the instruction iteration in processFunction().

This change looks larger than it actually is, because I had to move a large function within the file.

…n iterator invalidation problem

This simplifies the instruction iteration in processFunction().
@eeckstein eeckstein requested a review from atrick June 3, 2021 15:22
@eeckstein
Copy link
Contributor Author

@swift-ci test

Copy link
Contributor

@atrick atrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@eeckstein eeckstein merged commit 397a9c6 into swiftlang:main Jun 4, 2021
@eeckstein eeckstein deleted the inst-deleter-in-doe branch June 4, 2021 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants