Skip to content

[sil] Catch if we are creating ABI incompatible convert_function inst… #13135

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

…ructions when constructing the inst.

I ran into this earlier today. It is a pretty annoying error to track down in
SILGen since the verifier doesn't run until the full function is emitted. With
this change, we get a check immediately when the value is constructed by
SILBuilder making it a very easy problem to track down.

…ructions when constructing the inst.

I ran into this earlier today. It is a pretty annoying error to track down in
SILGen since the verifier doesn't run until the full function is emitted. With
this change, we get a check immediately when the value is constructed by
SILBuilder making it a very easy problem to track down.
@gottesmm
Copy link
Contributor Author

@swift-ci smoke test and merge

@swift-ci swift-ci merged commit 9e7687f into swiftlang:master Nov 29, 2017
@gottesmm gottesmm deleted the pr-339c783b678f40183e3a6a3b4df5d136ad82f035 branch November 29, 2017 16:25
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