Skip to content

Commit d66f355

Browse files
committed
IRGen: Remove a bit of dead code
1 parent 17e2d6a commit d66f355

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/IRGen/GenProto.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2600,13 +2600,6 @@ MetadataResponse MetadataPath::followComponent(IRGenFunction &IGF,
26002600
CanType associatedType =
26012601
sourceConformance.getAssociatedType(sourceType, association)
26022602
->getCanonicalType();
2603-
if (sourceConformance.isConcrete() &&
2604-
isa<NormalProtocolConformance>(sourceConformance.getConcrete())) {
2605-
associatedType =
2606-
sourceConformance.getConcrete()->getDeclContext()
2607-
->mapTypeIntoContext(associatedType)
2608-
->getCanonicalType();
2609-
}
26102603
sourceKey.Type = associatedType;
26112604

26122605
auto associatedConformance =

0 commit comments

Comments
 (0)