Skip to content

Commit 379beab

Browse files
committed
[Gardening] IRGen: Changed a variable name.
1 parent c867e4c commit 379beab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/IRGen/Outlining.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ void OutliningMetadataCollector::collectTypeMetadataForLayout(SILType ty) {
7373
collectRepresentationTypeMetadata(ty);
7474
}
7575

76-
void OutliningMetadataCollector::collectFormalTypeMetadata(CanType type) {
76+
void OutliningMetadataCollector::collectFormalTypeMetadata(CanType ty) {
7777
// If the type has no archetypes, we can emit it from scratch in the callee.
78-
assert(type->hasArchetype());
78+
assert(ty->hasArchetype());
7979

80-
auto key = LocalTypeDataKey(type, LocalTypeDataKind::forFormalTypeMetadata());
80+
auto key = LocalTypeDataKey(ty, LocalTypeDataKind::forFormalTypeMetadata());
8181
if (Values.count(key)) return;
8282

83-
auto metadata = IGF.emitTypeMetadataRef(type);
83+
auto metadata = IGF.emitTypeMetadataRef(ty);
8484
Values.insert({key, metadata});
8585
}
8686

0 commit comments

Comments
 (0)