@@ -2692,16 +2692,6 @@ class SILParameterInfo {
2692
2692
return getWithType (fn (getType ()));
2693
2693
}
2694
2694
2695
- // / Replace references to substitutable types with new, concrete types and
2696
- // / return the substituted result.
2697
- // /
2698
- // / The API is comparable to Type::subst.
2699
- SILParameterInfo subst (ModuleDecl *module , TypeSubstitutionMap &substitutions,
2700
- SubstOptions options) const {
2701
- Type type = getType ().subst (module , substitutions, options);
2702
- return getWithType (type->getCanonicalType ());
2703
- }
2704
-
2705
2695
void profile (llvm::FoldingSetNodeID &id) {
2706
2696
id.AddPointer (Ty.getPointer ());
2707
2697
id.AddInteger ((unsigned )Convention);
@@ -2788,16 +2778,6 @@ class SILResultInfo {
2788
2778
return getWithType (fn (getType ()));
2789
2779
}
2790
2780
2791
- // / Replace references to substitutable types with new, concrete types and
2792
- // / return the substituted result.
2793
- // /
2794
- // / The API is comparable to Type::subst.
2795
- SILResultInfo subst (ModuleDecl *module , TypeSubstitutionMap &substitutions,
2796
- SubstOptions options) const {
2797
- Type type = getType ().subst (module , substitutions, options);
2798
- return getWithType (type->getCanonicalType ());
2799
- }
2800
-
2801
2781
void profile (llvm::FoldingSetNodeID &id) {
2802
2782
id.AddPointer (TypeAndConvention.getOpaqueValue ());
2803
2783
}
0 commit comments