mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove some incorrect references to ExecutorRef
This commit is contained in:
@@ -519,17 +519,12 @@ public:
|
||||
TaskContinuationFunction * __ptrauth_swift_async_context_yield
|
||||
YieldToParent;
|
||||
|
||||
/// The executor that the parent context needs to be yielded to on.
|
||||
ExecutorRef YieldToParentExecutor;
|
||||
|
||||
YieldingAsyncContext(AsyncContextFlags flags,
|
||||
TaskContinuationFunction *resumeParent,
|
||||
TaskContinuationFunction *yieldToParent,
|
||||
ExecutorRef yieldToParentExecutor,
|
||||
AsyncContext *parent)
|
||||
: AsyncContext(flags, resumeParent, parent),
|
||||
YieldToParent(yieldToParent),
|
||||
YieldToParentExecutor(yieldToParentExecutor) {}
|
||||
YieldToParent(yieldToParent) {}
|
||||
|
||||
static bool classof(const AsyncContext *context) {
|
||||
return context->Flags.getKind() == AsyncContextKind::Yielding;
|
||||
|
||||
@@ -630,8 +630,7 @@ IRGenModule::IRGenModule(IRGenerator &irgen,
|
||||
SwiftJobPtrTy = SwiftJobTy->getPointerTo(DefaultAS);
|
||||
|
||||
// using TaskContinuationFunction =
|
||||
// SWIFT_CC(swift)
|
||||
// void (AsyncTask *, ExecutorRef, AsyncContext *);
|
||||
// SWIFT_CC(swift) void (SWIFT_ASYNC_CONTEXT AsyncContext *);
|
||||
TaskContinuationFunctionTy = llvm::FunctionType::get(
|
||||
VoidTy, {SwiftContextPtrTy}, /*isVarArg*/ false);
|
||||
TaskContinuationFunctionPtrTy = TaskContinuationFunctionTy->getPointerTo();
|
||||
|
||||
Reference in New Issue
Block a user