mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove even more dead code
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user