Skip to content

[NFC] Construct AsyncContextLayout from module. #34585

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

nate-chandler
Copy link
Contributor

Previously, an IRGenFunction was being passed to the functions that construct an AsyncContextLayout. That was not actually necessary and prevented construction of the layout in contexts where no IRGenFunction was present. Here that requirement is eased to requiring an IRGenModule which is indeed required to construct an AsyncContextLayout.

Previously, an IRGenFunction was being passed to the functions that
construct an AsyncContextLayout.  That was not actually necessary and
prevented construction of the layout in contexts where no IRGenFunction
was present.  Here that requirement is eased to requiring an IRGenModule
which is indeed required to construct an AsyncContextLayout.
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler nate-chandler merged commit 5e34851 into swiftlang:main Nov 5, 2020
@nate-chandler nate-chandler deleted the concurrency/irgen/async-context-layout-uses-module-not-function branch November 5, 2020 14:54
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