File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -1257,8 +1257,6 @@ void FunctionSignaturePartialSpecializer::addRequirements(
1257
1257
// / Add requirements from the caller's signature.
1258
1258
void FunctionSignaturePartialSpecializer::addCallerRequirements () {
1259
1259
for (auto CallerArchetype : UsedCallerArchetypes) {
1260
- auto CallerGenericParam =
1261
- CallerGenericEnv->mapTypeOutOfContext (CallerArchetype);
1262
1260
// Add requirements for this caller generic parameter and its dependent
1263
1261
// types.
1264
1262
SmallVector<Requirement, 4 > CollectedReqs;
@@ -1269,7 +1267,7 @@ void FunctionSignaturePartialSpecializer::addCallerRequirements() {
1269
1267
for (auto Req : CollectedReqs) {
1270
1268
Req.dump ();
1271
1269
}
1272
- CallerInterfaceToSpecializedInterfaceMap.dump ();
1270
+ CallerInterfaceToSpecializedInterfaceMap.dump (llvm::dbgs () );
1273
1271
);
1274
1272
addRequirements (CollectedReqs, CallerInterfaceToSpecializedInterfaceMap);
1275
1273
}
@@ -1446,7 +1444,6 @@ void ReabstractionInfo::performPartialSpecializationPreparation(
1446
1444
SILFunction *Caller, SILFunction *Callee,
1447
1445
ArrayRef<Substitution> ParamSubs) {
1448
1446
SILModule &M = Callee->getModule ();
1449
- auto &Ctx = M.getASTContext ();
1450
1447
1451
1448
// Caller is the SILFunction containing the apply instruction.
1452
1449
CanGenericSignature CallerGenericSig;
You can’t perform that action at this time.
0 commit comments