Skip to content

deinit-devirtualization: correctly handle drop_deinit for address types #70117

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
Nov 30, 2023

Conversation

eeckstein
Copy link
Contributor

Make it clear that drop_deinit cannot be used to prevent a deinit called from a destroy_addr. This is more a refactoring and clarification than a bug fix, because a destroy_addr cannot have a drop_deinit as operand, anyway.

This is a follow-up on #69955

@eeckstein eeckstein requested a review from atrick November 30, 2023 09:11
@eeckstein
Copy link
Contributor Author

@swift-ci smoke test

Make it clear that drop_deinit cannot be used to prevent a deinit called from a destroy_addr.
This is more a refactoring and clarification than a bug fix, because a destroy_addr cannot have a drop_deinit as operand, anyway.
@eeckstein eeckstein force-pushed the fix-deinit-devirtualization branch from fb815cc to 285c60d Compare November 30, 2023 13:33
@eeckstein
Copy link
Contributor Author

@swift-ci smoke test

@eeckstein eeckstein merged commit 74acec9 into swiftlang:main Nov 30, 2023
@eeckstein eeckstein deleted the fix-deinit-devirtualization branch November 30, 2023 16:59
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