Skip to content

Commit 9b67fe4

Browse files
[IRGen] NFC: Remove unused parameter from bindPolymorphicArgumentsFromComponentIndices
This hasn't been used since 02b23d0
1 parent 198b974 commit 9b67fe4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/IRGen/GenKeyPath.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ enum KeyPathAccessor {
7070

7171
static void
7272
bindPolymorphicArgumentsFromComponentIndices(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

Comments
 (0)