Remove even more dead code

This commit is contained in:
Roman Levenstein
2017-05-10 09:11:43 -07:00
parent f909858f53
commit 6402d3d97d
8 changed files with 0 additions and 17 deletions

View File

@@ -838,9 +838,7 @@ specializePartialApply(PartialApplyInst *PartialApply,
// Build the function_ref and partial_apply.
SILValue FunctionRef = Builder.createFunctionRef(PartialApply->getLoc(),
ClonedFn);
CanSILFunctionType CanFnTy = ClonedFn->getLoweredFunctionType();
auto const &Subs = PartialApply->getSubstitutions();
CanSILFunctionType SubstCalleeTy = CanFnTy->substGenericArgs(M, Subs);
return Builder.createPartialApply(
PartialApply->getLoc(), FunctionRef, PartialApply->getSubstitutions(),
Args,