File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -519,17 +519,12 @@ class YieldingAsyncContext : public AsyncContext {
519
519
TaskContinuationFunction * __ptrauth_swift_async_context_yield
520
520
YieldToParent;
521
521
522
- // / The executor that the parent context needs to be yielded to on.
523
- ExecutorRef YieldToParentExecutor;
524
-
525
522
YieldingAsyncContext (AsyncContextFlags flags,
526
523
TaskContinuationFunction *resumeParent,
527
524
TaskContinuationFunction *yieldToParent,
528
- ExecutorRef yieldToParentExecutor,
529
525
AsyncContext *parent)
530
526
: AsyncContext(flags, resumeParent, parent),
531
- YieldToParent (yieldToParent),
532
- YieldToParentExecutor(yieldToParentExecutor) {}
527
+ YieldToParent (yieldToParent) {}
533
528
534
529
static bool classof (const AsyncContext *context) {
535
530
return context->Flags .getKind () == AsyncContextKind::Yielding;
Original file line number Diff line number Diff line change @@ -630,8 +630,7 @@ IRGenModule::IRGenModule(IRGenerator &irgen,
630
630
SwiftJobPtrTy = SwiftJobTy->getPointerTo (DefaultAS);
631
631
632
632
// using TaskContinuationFunction =
633
- // SWIFT_CC(swift)
634
- // void (AsyncTask *, ExecutorRef, AsyncContext *);
633
+ // SWIFT_CC(swift) void (SWIFT_ASYNC_CONTEXT AsyncContext *);
635
634
TaskContinuationFunctionTy = llvm::FunctionType::get (
636
635
VoidTy, {SwiftContextPtrTy}, /* isVarArg*/ false );
637
636
TaskContinuationFunctionPtrTy = TaskContinuationFunctionTy->getPointerTo ();
You can’t perform that action at this time.
0 commit comments