Skip to content

[silgen] Instead of creating a single CleanupCloner for an RValue, use a helper routine that stores into an outarray a cloner for each ManagedValue in the RValue. #31517

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 May 3, 2020

This simplifies CleanupCloner so that it only needs to model the cleanup of a
single managed value. It also eliminates a tie in between RValue and
CleanupCloner which is not needed.

…e a helper routine that stores into an outarray a cloner for each ManagedValue in the RValue.

This simplifies CleanupCloner so that it only needs to model the cleanup of a
single managed value. It also eliminates a tie in between RValue and
CleanupCloner which is not needed.
@gottesmm
Copy link
Contributor Author

gottesmm commented May 3, 2020

This is just NFC and eliminating API surface area.

@gottesmm
Copy link
Contributor Author

gottesmm commented May 3, 2020

@swift-ci smoke test

@gottesmm gottesmm merged commit a4b8255 into swiftlang:master May 3, 2020
@gottesmm gottesmm deleted the pr-21ee1341c442c91af419f44d230f9528f6dd9dba branch May 3, 2020 21: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.

1 participant