Skip to content

Commit 64400c2

Browse files
committed
SIL: Remove WitnessMethodInst::getSelfSubstitution()
1 parent 76eb5dd commit 64400c2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

include/swift/SIL/SILInstruction.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3876,12 +3876,6 @@ class WitnessMethodInst final
38763876

38773877
ProtocolConformanceRef getConformance() const { return Conformance; }
38783878

3879-
/// Get a representation of the lookup type as a substitution of the
3880-
/// protocol's Self archetype.
3881-
Substitution getSelfSubstitution() const {
3882-
return Substitution{getLookupType(), Conformance};
3883-
}
3884-
38853879
ArrayRef<Operand> getAllOperands() const {
38863880
return { getTrailingObjects<Operand>(), NumOperands };
38873881
}

0 commit comments

Comments
 (0)