Skip to content
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

Don't emit some unnecessary kinds of default argument generators #10200

Merged
merged 2 commits into from Jun 12, 2017

Conversation

slavapestov
Copy link
Member

Fixes the SIL verifier failure in rdar://32597278, but the underlying issue remains.

…ters

Some default parameter expressions like #file, #line, #function etc
are emitted into the caller directly by SILGen, instead of being
emitted as a call to a generator function.

In these cases, we don't need to emit the generator function at all.
@slavapestov
Copy link
Member Author

@swift-ci Please smoke test

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.

None yet

1 participant