mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Remove the implicit nil inhabitant of Builtin.Executor,
and traffic in Optional<Builtin.Executor> in various places.
This commit is contained in:
@@ -620,7 +620,7 @@ IRGenModule::IRGenModule(IRGenerator &irgen,
|
||||
SwiftTaskPtrTy = SwiftTaskTy->getPointerTo(DefaultAS);
|
||||
SwiftAsyncLetPtrTy = Int8PtrTy; // we pass it opaquely (AsyncLet*)
|
||||
SwiftTaskGroupPtrTy = Int8PtrTy; // we pass it opaquely (TaskGroup*)
|
||||
ExecutorFirstTy = RefCountedPtrTy;
|
||||
ExecutorFirstTy = SizeTy;
|
||||
ExecutorSecondTy = SizeTy;
|
||||
SwiftExecutorTy = createStructType(*this, "swift.executor", {
|
||||
ExecutorFirstTy, // identity
|
||||
|
||||
Reference in New Issue
Block a user