File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4623,7 +4623,7 @@ namespace {
4623
4623
} else if (accessor && requiresFeatureCoroutineAccessors (
4624
4624
accessor->getAccessorKind ())) {
4625
4625
ptr = llvm::ConstantExpr::getBitCast (
4626
- IGM.getDeletedCalleeAllocatedCoroutineMethodErrorAsyncFunctionPointer (),
4626
+ IGM.getDeletedCalleeAllocatedCoroutineMethodErrorCoroFunctionPointer (),
4627
4627
IGM.FunctionPtrTy );
4628
4628
} else {
4629
4629
ptr = llvm::ConstantExpr::getBitCast (IGM.getDeletedMethodErrorFn (),
Original file line number Diff line number Diff line change @@ -1678,7 +1678,7 @@ class AccessorConformanceInfo : public ConformanceInfo {
1678
1678
IGM.FunctionPtrTy );
1679
1679
} else if (isCalleeAllocatedCoroutineRequirement) {
1680
1680
witness = llvm::ConstantExpr::getBitCast (
1681
- IGM.getDeletedCalleeAllocatedCoroutineMethodErrorAsyncFunctionPointer (),
1681
+ IGM.getDeletedCalleeAllocatedCoroutineMethodErrorCoroFunctionPointer (),
1682
1682
IGM.CoroFunctionPointerPtrTy );
1683
1683
} else {
1684
1684
witness = llvm::ConstantExpr::getBitCast (
Original file line number Diff line number Diff line change @@ -1233,9 +1233,9 @@ llvm::Constant *IRGenModule::getDeletedAsyncMethodErrorAsyncFunctionPointer() {
1233
1233
}
1234
1234
1235
1235
llvm::Constant *IRGenModule::
1236
- getDeletedCalleeAllocatedCoroutineMethodErrorAsyncFunctionPointer () {
1236
+ getDeletedCalleeAllocatedCoroutineMethodErrorCoroFunctionPointer () {
1237
1237
return getAddrOfLLVMVariableOrGOTEquivalent (
1238
- LinkEntity::forKnownAsyncFunctionPointer (
1238
+ LinkEntity::forKnownCoroFunctionPointer (
1239
1239
" swift_deletedCalleeAllocatedCoroutineMethodError" ))
1240
1240
.getValue ();
1241
1241
}
Original file line number Diff line number Diff line change @@ -1537,7 +1537,7 @@ class IRGenModule {
1537
1537
llvm::AttributeList getAllocAttrs ();
1538
1538
llvm::Constant *getDeletedAsyncMethodErrorAsyncFunctionPointer ();
1539
1539
llvm::Constant *
1540
- getDeletedCalleeAllocatedCoroutineMethodErrorAsyncFunctionPointer ();
1540
+ getDeletedCalleeAllocatedCoroutineMethodErrorCoroFunctionPointer ();
1541
1541
1542
1542
private:
1543
1543
llvm::Constant *EmptyTupleMetadata = nullptr ;
You can’t perform that action at this time.
0 commit comments