File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -1000,7 +1000,7 @@ namespace {
10001000
10011001 // Emit the dispatch thunk.
10021002 auto shouldEmitDispatchThunk =
1003- ( Resilient || IGM.getOptions ().WitnessMethodElimination ) ;
1003+ Resilient || IGM.getOptions ().WitnessMethodElimination ;
10041004 if (shouldEmitDispatchThunk) {
10051005 IGM.emitDispatchThunk (func);
10061006 }
Original file line number Diff line number Diff line change @@ -108,6 +108,7 @@ class IRSymbolVisitorImpl : public SILSymbolVisitor {
108108
109109 void addDispatchThunk (SILDeclRef declRef) override {
110110 auto entity = LinkEntity::forDispatchThunk (declRef);
111+
111112 addLinkEntity (entity);
112113
113114 if (declRef.getAbstractFunctionDecl ()->hasAsync ())
Original file line number Diff line number Diff line change 2222// RUN: -validate-tbd-against-ir=all \
2323// RUN: -emit-module-interface-path %t/Library.swiftinterface
2424
25- // RUN: %target-swift-frontend %t/actor.swift \
26- // RUN: -enable-library-evolution \
25+ // RUN: %target-swift-frontend %t/actor.swift -enable-library-evolution \
26+ // RUN: -enable-library-evolution \
2727// RUN: -disable-availability-checking -emit-ir -o %t/test.ll -emit-tbd \
2828// RUN: -emit-tbd-path %t/actor.tbd -I %t -tbd-install_name actor
2929
30- // RUN: %target-swift-frontend %t/actor.swift \
31- // RUN: -I %t \
32- // RUN: -disable-availability-checking \
30+ // RUN: %target-swift-frontend %t/actor.swift \
31+ // RUN: -I %t \
32+ // RUN: -disable-availability-checking \
3333// RUN: -emit-module \
3434// RUN: -package-name Package \
3535// RUN: -enable-library-evolution \
You can’t perform that action at this time.
0 commit comments