mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add simple accessor/generator coroutine support to SILFunctionType.
This commit is contained in:
@@ -629,7 +629,8 @@ SILFunction *PromotedParamCloner::initCloned(SILFunction *Orig,
|
||||
// the parameters promoted.
|
||||
auto ClonedTy = SILFunctionType::get(
|
||||
OrigFTI->getGenericSignature(), OrigFTI->getExtInfo(),
|
||||
OrigFTI->getCalleeConvention(), ClonedInterfaceArgTys,
|
||||
OrigFTI->getCoroutineKind(), OrigFTI->getCalleeConvention(),
|
||||
ClonedInterfaceArgTys, OrigFTI->getYields(),
|
||||
OrigFTI->getResults(), OrigFTI->getOptionalErrorResult(),
|
||||
M.getASTContext(), OrigFTI->getWitnessMethodConformanceOrNone());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user