-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Concurrency] Async CC, part 1. #34141
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
[Concurrency] Async CC, part 1. #34141
Conversation
@swift-ci please test |
Build failed |
Build failed |
83074dc
to
f42a7e9
Compare
613a479
to
cb57212
Compare
e653e21
to
c6a39d5
Compare
This reverts commit 3a48396110d2639d7b90970bc0369a559adbc0c1.
566c691
to
9106710
Compare
@swift-ci please test |
9106710
to
a865feb
Compare
@swift-ci please test |
a865feb
to
08dc8a2
Compare
08dc8a2
to
ee3d1d1
Compare
@swift-ci please test |
@swift-ci please test windows |
@swift-ci please asan test |
Build failed |
3ffb05c
to
1c38310
Compare
@swift-ci please test |
Build failed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
1c38310
to
a4eb7e5
Compare
@swift-ci please test |
@swift-ci please test windows |
Build failed |
@swift-ci please test linux |
Build failed |
@swift-ci please clean test linux |
Build failed |
Build failed |
@swift-ci please test linux |
Build failed |
@swift-ci please test linux |
Build failed |
Here, the following is implemented: - Construction of SwiftContext struct with the fields needed for calling functions. - Allocating and deallocating these swift context via runtime calls before calling async functions and after returning from them. - Storing arguments (including bindings and the self parameter but not including protocol fields for witness methods) and returns (both direct and indirect). - Calling async functions. Additional things that still need to be done: - protocol extension methods - protocol witness methods - storing yields - partial applies
a4eb7e5
to
ee88152
Compare
@swift-ci please test |
@swift-ci please test windows |
Here, the following is implemented:
Additional things that still need to be done:
To support, a couple of structural changes were helpful: