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 @@ -1002,7 +1002,7 @@ namespace {
1002
1002
1003
1003
// Emit the dispatch thunk.
1004
1004
auto shouldEmitDispatchThunk =
1005
- ( Resilient || IGM.getOptions ().WitnessMethodElimination ) ;
1005
+ Resilient || IGM.getOptions ().WitnessMethodElimination ;
1006
1006
if (shouldEmitDispatchThunk) {
1007
1007
IGM.emitDispatchThunk (func);
1008
1008
}
Original file line number Diff line number Diff line change @@ -108,6 +108,7 @@ class IRSymbolVisitorImpl : public SILSymbolVisitor {
108
108
109
109
void addDispatchThunk (SILDeclRef declRef) override {
110
110
auto entity = LinkEntity::forDispatchThunk (declRef);
111
+
111
112
addLinkEntity (entity);
112
113
113
114
if (declRef.getAbstractFunctionDecl ()->hasAsync ())
Original file line number Diff line number Diff line change 22
22
// RUN: -validate-tbd-against-ir=all \
23
23
// RUN: -emit-module-interface-path %t/Library.swiftinterface
24
24
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 \
27
27
// RUN: -disable-availability-checking -emit-ir -o %t/test.ll -emit-tbd \
28
28
// RUN: -emit-tbd-path %t/actor.tbd -I %t -tbd-install_name actor
29
29
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 \
33
33
// RUN: -emit-module \
34
34
// RUN: -package-name Package \
35
35
// RUN: -enable-library-evolution \
You can’t perform that action at this time.
0 commit comments