Skip to content

Destructor/Metatype fixups #7856

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 2 commits into from
Mar 2, 2017
Merged

Conversation

gottesmm
Copy link
Contributor

@gottesmm gottesmm commented Mar 2, 2017

This PR contains fixes for SILGen destructor/metatypes.

The metatype fixes were in places where we are taking advantage of metatypes overriding retain/release to not properly balance retain/release operations.

The destructor fix adds a borrow in the deallocating destroyer when we call the destroying destructor.

rdar://29791263

@gottesmm
Copy link
Contributor Author

gottesmm commented Mar 2, 2017

@swift-ci Please smoke test

@gottesmm gottesmm merged commit 0c0d131 into swiftlang:master Mar 2, 2017
@gottesmm gottesmm deleted the destructor_fixups branch March 2, 2017 01:26
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