Skip to content

SimplifyKeyPath: insert the correct destroy operation for an operand of a removed keypath #79314

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
Feb 12, 2025

Conversation

eeckstein
Copy link
Contributor

If the operand is an address, we need to use destroy_addr and not destroy_value.

Fixes a compiler crash.
rdar://144662171

…of a removed keypath

If the operand is an address, we need to use `destroy_addr` and not `destroy_value`.

Fixes a compiler crash.
rdar://144662171
@eeckstein
Copy link
Contributor Author

@swift-ci smoke test

@eeckstein eeckstein merged commit b6639e1 into swiftlang:main Feb 12, 2025
3 checks passed
@eeckstein eeckstein deleted the fix-simplify-keypath branch February 12, 2025 14:18
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.

1 participant