File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ class TypeSubstituter : public TypeTransform<TypeSubstituter> {
329329 std::optional<Type> transformLocalArchetypeType (LocalArchetypeType *local,
330330 TypePosition pos);
331331
332- SubstitutionMap transformSubstitutionMap (SubstitutionMap subs);
332+ // SubstitutionMap transformSubstitutionMap(SubstitutionMap subs);
333333
334334 CanType transformSILField (CanType fieldTy, TypePosition pos);
335335};
@@ -449,10 +449,13 @@ Type TypeSubstituter::transformDependentMemberType(DependentMemberType *dependen
449449 return result;
450450}
451451
452+ // FIXME: This exposes a scalability issue; see test/SILGen/opaque_result_type_slow.swift.
453+ /*
452454SubstitutionMap TypeSubstituter::transformSubstitutionMap(SubstitutionMap subs) {
453455 // FIXME: Take level into account? Move level down into IFS?
454456 return subs.subst(IFS);
455457}
458+ */
456459
457460CanType TypeSubstituter::transformSILField (CanType fieldTy, TypePosition pos) {
458461 // Type substitution does not walk into the SILBoxType's field types, because
You can’t perform that action at this time.
0 commit comments