File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -349,7 +349,7 @@ class TypeSubstituter : public TypeTransform<TypeSubstituter> {
349
349
std::optional<Type> transformLocalArchetypeType (LocalArchetypeType *local,
350
350
TypePosition pos);
351
351
352
- // SubstitutionMap transformSubstitutionMap(SubstitutionMap subs);
352
+ SubstitutionMap transformSubstitutionMap (SubstitutionMap subs);
353
353
354
354
CanType transformSILField (CanType fieldTy, TypePosition pos);
355
355
};
@@ -465,13 +465,10 @@ Type TypeSubstituter::transformDependentMemberType(DependentMemberType *dependen
465
465
return result;
466
466
}
467
467
468
- // FIXME: This exposes a scalability issue; see test/SILGen/opaque_result_type_slow.swift.
469
- /*
470
468
SubstitutionMap TypeSubstituter::transformSubstitutionMap (SubstitutionMap subs) {
471
469
// FIXME: Take level into account? Move level down into IFS?
472
470
return subs.subst (IFS);
473
471
}
474
- */
475
472
476
473
CanType TypeSubstituter::transformSILField (CanType fieldTy, TypePosition pos) {
477
474
// Type substitution does not walk into the SILBoxType's field types, because
You can’t perform that action at this time.
0 commit comments