Skip to content

Continue plumbing resilience expansion through SIL type lowering #23004

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

Conversation

slavapestov
Copy link
Contributor

@slavapestov slavapestov force-pushed the sil-resilience-expansion-plumbing branch from 1f39128 to b627eb1 Compare March 1, 2019 02:22
No need to pass a pointer to SILType; it is a pointer-sized value itself.
Where possible, pass around a ClassDecl or a CanType instead of a
SILType that might wrap a metatype; the unwrapping logic was
repeated in several places.

Also add a FIXME for a bug I found by inspection.
This was checking if the type is a trivial type that is not a
class. However this was redundant because class types are not
trivial anyway.
For now these just forward to methods on the module's TypeLowering,
but soon they will use the SILFunction's resilience expansion.
@slavapestov slavapestov force-pushed the sil-resilience-expansion-plumbing branch from b627eb1 to a9841e8 Compare March 1, 2019 07:15
@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@slavapestov
Copy link
Contributor Author

@swift-ci Please test source compatibility

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