mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Also store the current executor in the async_continuation_context at the time of
This commit is contained in:
@@ -619,9 +619,9 @@ IRGenModule::IRGenModule(IRGenerator &irgen,
|
||||
*this, "swift.async_task_and_context",
|
||||
{ SwiftTaskPtrTy, SwiftContextPtrTy });
|
||||
|
||||
AsyncContinuationContextTy =
|
||||
createStructType(*this, "swift.async_continuation_context",
|
||||
{SwiftContextPtrTy, SizeTy, ErrorPtrTy, OpaquePtrTy});
|
||||
AsyncContinuationContextTy = createStructType(
|
||||
*this, "swift.async_continuation_context",
|
||||
{SwiftContextPtrTy, SizeTy, ErrorPtrTy, OpaquePtrTy, SwiftExecutorPtrTy});
|
||||
AsyncContinuationContextPtrTy = AsyncContinuationContextTy->getPointerTo();
|
||||
|
||||
DifferentiabilityWitnessTy = createStructType(
|
||||
|
||||
Reference in New Issue
Block a user