Skip to content

[ownership] Teach diagnose-unreachable to eliminate end_borrow from g… #22774

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

Conversation

gottesmm
Copy link
Contributor

…uaranteed block args when replacing the use of the block arg with a SILFunctionArgument.

A guaranteed function argument never is paired with an end_borrow, so when we
perform this sort of simplification, we need to eliminate the end_borrow of the
block argument.

…uaranteed block args when replacing the use of the block arg with a SILFunctionArgument.

A guaranteed function argument never is paired with an end_borrow, so when we
perform this sort of simplification, we need to eliminate the end_borrow of the
block argument.
@gottesmm
Copy link
Contributor Author

@swift-ci smoke test and merge

@swift-ci swift-ci merged commit 4ea9dc8 into swiftlang:master Feb 21, 2019
@gottesmm gottesmm deleted the pr-d8bb6062232a40d5a4a85999a7ef0763d867a7b2 branch February 21, 2019 03:57
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