File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -1481,6 +1481,20 @@ const TypeInfo &TypeConverter::getTaskContinuationFunctionPtrTypeInfo() {
1481
1481
return *TaskContinuationFunctionPtrTI;
1482
1482
}
1483
1483
1484
+ const TypeInfo &IRGenModule::getSwiftExecutorPtrTypeInfo () {
1485
+ return Types.getSwiftExecutorPtrTypeInfo ();
1486
+ }
1487
+
1488
+ const TypeInfo &TypeConverter::getSwiftExecutorPtrTypeInfo () {
1489
+ if (SwiftExecutorPtrTI) return *SwiftExecutorPtrTI;
1490
+ SwiftExecutorPtrTI = createUnmanagedStorageType (IGM.SwiftExecutorPtrTy ,
1491
+ ReferenceCounting::Unknown,
1492
+ /* isOptional*/ false );
1493
+ SwiftExecutorPtrTI->NextConverted = FirstType;
1494
+ FirstType = SwiftExecutorPtrTI;
1495
+ return *SwiftExecutorPtrTI;
1496
+ }
1497
+
1484
1498
const LoadableTypeInfo &
1485
1499
IRGenModule::getReferenceObjectTypeInfo (ReferenceCounting refcounting) {
1486
1500
switch (refcounting) {
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ class TypeConverter {
107
107
const TypeInfo *TypeMetadataPtrTI = nullptr ;
108
108
const TypeInfo *SwiftContextPtrTI = nullptr ;
109
109
const TypeInfo *TaskContinuationFunctionPtrTI = nullptr ;
110
+ const TypeInfo *SwiftExecutorPtrTI = nullptr ;
110
111
const TypeInfo *ObjCClassPtrTI = nullptr ;
111
112
const LoadableTypeInfo *EmptyTI = nullptr ;
112
113
const LoadableTypeInfo *IntegerLiteralTI = nullptr ;
@@ -185,6 +186,7 @@ class TypeConverter {
185
186
const TypeInfo &getTypeMetadataPtrTypeInfo ();
186
187
const TypeInfo &getSwiftContextPtrTypeInfo ();
187
188
const TypeInfo &getTaskContinuationFunctionPtrTypeInfo ();
189
+ const TypeInfo &getSwiftExecutorPtrTypeInfo ();
188
190
const TypeInfo &getObjCClassPtrTypeInfo ();
189
191
const LoadableTypeInfo &getWitnessTablePtrTypeInfo ();
190
192
const LoadableTypeInfo &getEmptyTypeInfo ();
Original file line number Diff line number Diff line change @@ -895,6 +895,7 @@ class IRGenModule {
895
895
const TypeInfo &getTypeMetadataPtrTypeInfo ();
896
896
const TypeInfo &getSwiftContextPtrTypeInfo ();
897
897
const TypeInfo &getTaskContinuationFunctionPtrTypeInfo ();
898
+ const TypeInfo &getSwiftExecutorPtrTypeInfo ();
898
899
const TypeInfo &getObjCClassPtrTypeInfo ();
899
900
const LoadableTypeInfo &getOpaqueStorageTypeInfo (Size size, Alignment align);
900
901
const LoadableTypeInfo &
You can’t perform that action at this time.
0 commit comments