Skip to content

[+0-all-args] Add SILGenBuilder APIs for createRefToBridgeObject and … #14648

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

…use it in emitBuiltinCastToBridgeObject to ensure cleanups are on the actual bridge object.

This eliminates a case where we were not moving a cleanup onto a forwarding case
and instead just jammed the original cleanup and the new value into 1 managed
value.

NFC, but helps the ownership verifier.

rdar://34222540

…use it in emitBuiltinCastToBridgeObject to ensure cleanups are on the actual bridge object.

This eliminates a case where we were not moving a cleanup onto a forwarding case
and instead just jammed the original cleanup and the new value into 1 managed
value.

NFC, but helps the ownership verifier.

rdar://34222540
@gottesmm
Copy link
Contributor Author

When I say helps, I mean that we get issues when compiling tests with ownership without this. It is tested by my updates to SILGen tests out of tree.

@gottesmm
Copy link
Contributor Author

@swift-ci smoke test and merge

@swift-ci swift-ci merged commit e81c2b8 into swiftlang:master Feb 15, 2018
@gottesmm gottesmm deleted the pr-6af503b7a70e6705bcce4becd3ed620695f56c51 branch February 15, 2018 00:14
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