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 3fa92f4 commit 2c865b6Copy full SHA for 2c865b6
lib/IRGen/IRSymbolVisitor.cpp
@@ -104,7 +104,7 @@ class IRSymbolVisitorImpl : public SILSymbolVisitor {
104
void addDispatchThunk(SILDeclRef declRef) override {
105
auto entity = LinkEntity::forDispatchThunk(declRef);
106
107
- // TODO: explain why
+ // distributed thunks don't need dispatch thunks.
108
if (declRef.isDistributedThunk()) {
109
auto afd = declRef.getAbstractFunctionDecl();
110
if (afd && isa<ProtocolDecl>(afd->getDeclContext())) {
0 commit comments