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 {
46254625 } else if (accessor && requiresFeatureCoroutineAccessors (
46264626 accessor->getAccessorKind ())) {
46274627 ptr = llvm::ConstantExpr::getBitCast (
4628- IGM.getDeletedCalleeAllocatedCoroutineMethodErrorAsyncFunctionPointer (),
4628+ IGM.getDeletedCalleeAllocatedCoroutineMethodErrorCoroFunctionPointer (),
46294629 IGM.FunctionPtrTy );
46304630 } else {
46314631 ptr = llvm::ConstantExpr::getBitCast (IGM.getDeletedMethodErrorFn (),
Original file line number Diff line number Diff line change @@ -1680,7 +1680,7 @@ class AccessorConformanceInfo : public ConformanceInfo {
16801680 IGM.FunctionPtrTy );
16811681 } else if (isCalleeAllocatedCoroutineRequirement) {
16821682 witness = llvm::ConstantExpr::getBitCast (
1683- IGM.getDeletedCalleeAllocatedCoroutineMethodErrorAsyncFunctionPointer (),
1683+ IGM.getDeletedCalleeAllocatedCoroutineMethodErrorCoroFunctionPointer (),
16841684 IGM.CoroFunctionPointerPtrTy );
16851685 } else {
16861686 witness = llvm::ConstantExpr::getBitCast (
Original file line number Diff line number Diff line change @@ -1234,9 +1234,9 @@ llvm::Constant *IRGenModule::getDeletedAsyncMethodErrorAsyncFunctionPointer() {
12341234}
12351235
12361236llvm::Constant *IRGenModule::
1237- getDeletedCalleeAllocatedCoroutineMethodErrorAsyncFunctionPointer () {
1237+ getDeletedCalleeAllocatedCoroutineMethodErrorCoroFunctionPointer () {
12381238 return getAddrOfLLVMVariableOrGOTEquivalent (
1239- LinkEntity::forKnownAsyncFunctionPointer (
1239+ LinkEntity::forKnownCoroFunctionPointer (
12401240 " swift_deletedCalleeAllocatedCoroutineMethodError" ))
12411241 .getValue ();
12421242}
Original file line number Diff line number Diff line change @@ -1538,7 +1538,7 @@ class IRGenModule {
15381538 llvm::AttributeList getAllocAttrs ();
15391539 llvm::Constant *getDeletedAsyncMethodErrorAsyncFunctionPointer ();
15401540 llvm::Constant *
1541- getDeletedCalleeAllocatedCoroutineMethodErrorAsyncFunctionPointer ();
1541+ getDeletedCalleeAllocatedCoroutineMethodErrorCoroFunctionPointer ();
15421542
15431543private:
15441544 llvm::Constant *EmptyTupleMetadata = nullptr ;
You can’t perform that action at this time.
0 commit comments