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 8a74e52 commit 891594aCopy full SHA for 891594a
lib/SILGen/SILGenType.cpp
@@ -454,11 +454,7 @@ class SILGenConformance : public SILGenWitnessTable<SILGenConformance> {
454
});
455
456
// Emit the witness table for the base conformance if it is shared.
457
- auto *normal = conformance->getRootNormalConformance();
458
-
459
- if (getLinkageForProtocolConformance(normal, NotForDefinition)
460
- == SILLinkage::Shared)
461
- SGM.getWitnessTable(normal);
+ SGM.useConformance(ProtocolConformanceRef(conformance));
462
}
463
464
Witness getWitness(ValueDecl *decl) {
0 commit comments