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 @@ -4623,7 +4623,7 @@ namespace {
46234623 } else if (accessor && requiresFeatureCoroutineAccessors (
46244624 accessor->getAccessorKind ())) {
46254625 ptr = llvm::ConstantExpr::getBitCast (
4626- IGM.getDeletedCalleeAllocatedCoroutineMethodErrorAsyncFunctionPointer (),
4626+ IGM.getDeletedCalleeAllocatedCoroutineMethodErrorCoroFunctionPointer (),
46274627 IGM.FunctionPtrTy );
46284628 } else {
46294629 ptr = llvm::ConstantExpr::getBitCast (IGM.getDeletedMethodErrorFn (),
Original file line number Diff line number Diff line change @@ -1678,7 +1678,7 @@ class AccessorConformanceInfo : public ConformanceInfo {
16781678 IGM.FunctionPtrTy );
16791679 } else if (isCalleeAllocatedCoroutineRequirement) {
16801680 witness = llvm::ConstantExpr::getBitCast (
1681- IGM.getDeletedCalleeAllocatedCoroutineMethodErrorAsyncFunctionPointer (),
1681+ IGM.getDeletedCalleeAllocatedCoroutineMethodErrorCoroFunctionPointer (),
16821682 IGM.CoroFunctionPointerPtrTy );
16831683 } else {
16841684 witness = llvm::ConstantExpr::getBitCast (
Original file line number Diff line number Diff line change @@ -1233,9 +1233,9 @@ llvm::Constant *IRGenModule::getDeletedAsyncMethodErrorAsyncFunctionPointer() {
12331233}
12341234
12351235llvm::Constant *IRGenModule::
1236- getDeletedCalleeAllocatedCoroutineMethodErrorAsyncFunctionPointer () {
1236+ getDeletedCalleeAllocatedCoroutineMethodErrorCoroFunctionPointer () {
12371237 return getAddrOfLLVMVariableOrGOTEquivalent (
1238- LinkEntity::forKnownAsyncFunctionPointer (
1238+ LinkEntity::forKnownCoroFunctionPointer (
12391239 " swift_deletedCalleeAllocatedCoroutineMethodError" ))
12401240 .getValue ();
12411241}
Original file line number Diff line number Diff line change @@ -1537,7 +1537,7 @@ class IRGenModule {
15371537 llvm::AttributeList getAllocAttrs ();
15381538 llvm::Constant *getDeletedAsyncMethodErrorAsyncFunctionPointer ();
15391539 llvm::Constant *
1540- getDeletedCalleeAllocatedCoroutineMethodErrorAsyncFunctionPointer ();
1540+ getDeletedCalleeAllocatedCoroutineMethodErrorCoroFunctionPointer ();
15411541
15421542private:
15431543 llvm::Constant *EmptyTupleMetadata = nullptr ;
You can’t perform that action at this time.
0 commit comments