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 @@ -358,7 +358,7 @@ class TypeSubstituter : public TypeTransform<TypeSubstituter> {
358
358
std::optional<Type> transformLocalArchetypeType (LocalArchetypeType *local,
359
359
TypePosition pos);
360
360
361
- // SubstitutionMap transformSubstitutionMap(SubstitutionMap subs);
361
+ SubstitutionMap transformSubstitutionMap (SubstitutionMap subs);
362
362
363
363
CanType transformSILField (CanType fieldTy, TypePosition pos);
364
364
};
@@ -474,13 +474,10 @@ Type TypeSubstituter::transformDependentMemberType(DependentMemberType *dependen
474
474
return result;
475
475
}
476
476
477
- // FIXME: This exposes a scalability issue; see test/SILGen/opaque_result_type_slow.swift.
478
- /*
479
477
SubstitutionMap TypeSubstituter::transformSubstitutionMap (SubstitutionMap subs) {
480
478
// FIXME: Take level into account? Move level down into IFS?
481
479
return subs.subst (IFS);
482
480
}
483
- */
484
481
485
482
CanType TypeSubstituter::transformSILField (CanType fieldTy, TypePosition pos) {
486
483
// Type substitution does not walk into the SILBoxType's field types, because
You can’t perform that action at this time.
0 commit comments