Skip to content

[auto-diff] Fix a bunch of places in the *Cloners where we were not closing borrow scopes. #34898

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

@gottesmm gottesmm commented Dec 1, 2020

These were all just trying to open a borrow scope, so I changed them to use the
API SILBuilder::emitScopedBorrowOperation(SILLocation, SIL).

…losing borrow scopes.

These were all just trying to open a borrow scope, so I changed them to use the
API SILBuilder::emitScopedBorrowOperation(SILLocation, SIL).
@gottesmm gottesmm requested a review from rxwei December 1, 2020 00:08
@gottesmm
Copy link
Contributor Author

gottesmm commented Dec 1, 2020

@swift-ci smoke test

@gottesmm
Copy link
Contributor Author

gottesmm commented Dec 1, 2020

@rxwei I am not sure why this didn't perturb more of your tests. I ran into this with another patch I am trying to upstream.

Copy link
Contributor

@rxwei rxwei left a comment

Choose a reason for hiding this comment

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

Thanks!

@gottesmm gottesmm merged commit 3fd4aae into swiftlang:main Dec 1, 2020
@gottesmm gottesmm deleted the pr-d3b6d903b097410b535d20940005a1fa67d3a1bf branch December 1, 2020 20:42
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