@@ -70,7 +70,6 @@ enum KeyPathAccessor {
70
70
71
71
static void
72
72
bindPolymorphicArgumentsFromComponentIndices (IRGenFunction &IGF,
73
- const KeyPathPatternComponent &component,
74
73
GenericEnvironment *genericEnv,
75
74
ArrayRef<GenericRequirement> requirements,
76
75
llvm::Value *args,
@@ -238,7 +237,7 @@ getAccessorForComputedComponent(IRGenModule &IGM,
238
237
break ;
239
238
}
240
239
auto componentArgsBufSize = params.claimNext ();
241
- bindPolymorphicArgumentsFromComponentIndices (IGF, component,
240
+ bindPolymorphicArgumentsFromComponentIndices (IGF,
242
241
genericEnv, requirements,
243
242
componentArgsBuf,
244
243
componentArgsBufSize,
@@ -395,7 +394,7 @@ getWitnessTableForComputedComponent(IRGenModule &IGM,
395
394
auto params = IGF.collectParameters ();
396
395
auto componentArgsBuf = params.claimNext ();
397
396
auto componentArgsBufSize = params.claimNext ();
398
- bindPolymorphicArgumentsFromComponentIndices (IGF, component,
397
+ bindPolymorphicArgumentsFromComponentIndices (IGF,
399
398
genericEnv, requirements,
400
399
componentArgsBuf,
401
400
componentArgsBufSize,
@@ -449,7 +448,7 @@ getWitnessTableForComputedComponent(IRGenModule &IGM,
449
448
auto sourceArgsBuf = params.claimNext ();
450
449
auto destArgsBuf = params.claimNext ();
451
450
auto componentArgsBufSize = params.claimNext ();
452
- bindPolymorphicArgumentsFromComponentIndices (IGF, component,
451
+ bindPolymorphicArgumentsFromComponentIndices (IGF,
453
452
genericEnv, requirements,
454
453
sourceArgsBuf,
455
454
componentArgsBufSize,
0 commit comments