@@ -70,7 +70,6 @@ enum KeyPathAccessor {
7070
7171static void
7272bindPolymorphicArgumentsFromComponentIndices (IRGenFunction &IGF,
73- const KeyPathPatternComponent &component,
7473 GenericEnvironment *genericEnv,
7574 ArrayRef<GenericRequirement> requirements,
7675 llvm::Value *args,
@@ -238,7 +237,7 @@ getAccessorForComputedComponent(IRGenModule &IGM,
238237 break ;
239238 }
240239 auto componentArgsBufSize = params.claimNext ();
241- bindPolymorphicArgumentsFromComponentIndices (IGF, component,
240+ bindPolymorphicArgumentsFromComponentIndices (IGF,
242241 genericEnv, requirements,
243242 componentArgsBuf,
244243 componentArgsBufSize,
@@ -395,7 +394,7 @@ getWitnessTableForComputedComponent(IRGenModule &IGM,
395394 auto params = IGF.collectParameters ();
396395 auto componentArgsBuf = params.claimNext ();
397396 auto componentArgsBufSize = params.claimNext ();
398- bindPolymorphicArgumentsFromComponentIndices (IGF, component,
397+ bindPolymorphicArgumentsFromComponentIndices (IGF,
399398 genericEnv, requirements,
400399 componentArgsBuf,
401400 componentArgsBufSize,
@@ -449,7 +448,7 @@ getWitnessTableForComputedComponent(IRGenModule &IGM,
449448 auto sourceArgsBuf = params.claimNext ();
450449 auto destArgsBuf = params.claimNext ();
451450 auto componentArgsBufSize = params.claimNext ();
452- bindPolymorphicArgumentsFromComponentIndices (IGF, component,
451+ bindPolymorphicArgumentsFromComponentIndices (IGF,
453452 genericEnv, requirements,
454453 sourceArgsBuf,
455454 componentArgsBufSize,
0 commit comments