Skip to content

Commit f49233e

Browse files
committed
SIL: Remove unused function, NFC
1 parent b46b433 commit f49233e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

include/swift/SIL/TypeLowering.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -380,12 +380,6 @@ struct SILConstantInfo {
380380
return SILType::getPrimitiveObjectType(SILFnType);
381381
}
382382

383-
ArrayRef<Substitution> getForwardingSubstitutions(ASTContext &C) {
384-
if (!ContextGenericParams)
385-
return { };
386-
return ContextGenericParams->getForwardingSubstitutions(C);
387-
}
388-
389383
friend bool operator==(SILConstantInfo lhs, SILConstantInfo rhs) {
390384
return lhs.FormalInterfaceType == rhs.FormalInterfaceType &&
391385
lhs.LoweredInterfaceType == rhs.LoweredInterfaceType &&

0 commit comments

Comments
 (0)