Skip to content

Remove the Flags field from AsyncContext #41567

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 1 commit into from
Feb 26, 2022

Conversation

rjmccall
Copy link
Contributor

Generated code has never actually initialized this field, so we might as well remove it. Doing so mostly doesn't impact the ABI since we don't store anything for arguments or results in the context as part of the normal call sequence. We do need to adjust some of the hard-coded contexts, however, such as continuation contexts and the statically-sized context for special runtime async functions.

Generated code has never actually initialized this field, so we
might as well remove it.  Doing so mostly doesn't impact the ABI
since we don't store anything for arguments or results in the
context as part of the normal call sequence.  We do need to adjust
some of the hard-coded contexts, however, such as continuation
contexts and the statically-sized context for special runtime
async functions.
@rjmccall
Copy link
Contributor Author

@swift-ci Please test

@rjmccall rjmccall merged commit a005f45 into swiftlang:main Feb 26, 2022
@rjmccall rjmccall deleted the remove-async-context-flags branch February 26, 2022 04:37
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