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