mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SILGen: Clean up some straggling non-interface types.
Swift SVN r13699
This commit is contained in:
@@ -1361,7 +1361,7 @@ void SILGenFunction::emitProtocolWitness(ProtocolConformance *conformance,
|
||||
|
||||
TranslateArguments(*this, loc, TranslationKind::OrigToSubst,
|
||||
origParams, witnessParams,
|
||||
witnessSubstFTy->getParametersWithoutIndirectResult())
|
||||
witnessSubstFTy->getInterfaceParametersWithoutIndirectResult())
|
||||
.translate(stripInputTupleLabels(reqtOrigInputTy),
|
||||
witnessSubstInputTys);
|
||||
|
||||
@@ -1385,7 +1385,7 @@ void SILGenFunction::emitProtocolWitness(ProtocolConformance *conformance,
|
||||
|
||||
TranslateArguments(*this, loc, TranslationKind::SubstToOrig,
|
||||
witnessParams, genParams,
|
||||
witnessFTy->getParametersWithoutIndirectResult())
|
||||
witnessFTy->getInterfaceParametersWithoutIndirectResult())
|
||||
.translate(stripInputTupleLabels(witnessOrigTy.getFunctionInputType()),
|
||||
witnessSubstInputTys);
|
||||
witnessParams = std::move(genParams);
|
||||
|
||||
Reference in New Issue
Block a user