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.
decodeNextArgument
1 parent 738ac14 commit 6789506Copy full SHA for 6789506
lib/IRGen/GenDistributed.cpp
@@ -530,6 +530,9 @@ void DistributedAccessor::lookupWitnessTables(
530
auto conformsToProtocol = IGM.getConformsToProtocolFunctionPointer();
531
532
for (auto *protocol : protocols) {
533
+ if (!Lowering::TypeConverter::protocolRequiresWitnessTable(protocol))
534
+ continue;
535
+
536
auto *protocolDescriptor = IGM.getAddrOfProtocolDescriptor(protocol);
537
auto *witnessTable =
538
IGF.Builder.CreateCall(conformsToProtocol, {value, protocolDescriptor});
0 commit comments