SILGen: Clean up some straggling non-interface types.

Swift SVN r13699
This commit is contained in:
Joe Groff
2014-02-09 06:50:25 +00:00
parent 6fbb356cc7
commit 34e51a1ec8

View File

@@ -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);