We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6378efe commit 8eb3058Copy full SHA for 8eb3058
lib/IRGen/GenPack.cpp
@@ -689,9 +689,8 @@ llvm::Value *irgen::emitTypeMetadataPackElementRef(
689
auto response = IGF.emitTypeMetadataRef(ty, request);
690
auto *metadata = response.getMetadata();
691
for (auto protocol : protocols) {
692
- llvm::Value *_metadata = nullptr;
693
auto *wtable =
694
- emitWitnessTableRef(IGF, ty, /*srcMetadataCache=*/&_metadata,
+ emitWitnessTableRef(IGF, ty, /*srcMetadataCache=*/&metadata,
695
ProtocolConformanceRef(protocol));
696
wtables.push_back(wtable);
697
}
0 commit comments