Skip to content

Commit 9c9c8b6

Browse files
authored
Merge pull request #82612 from ktoso/pick-wiup-cleanup-mergeconflict-potential
2 parents f299c6a + 6989f05 commit 9c9c8b6

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

lib/IRGen/GenMeta.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ namespace {
10021002

10031003
// Emit the dispatch thunk.
10041004
auto shouldEmitDispatchThunk =
1005-
(Resilient || IGM.getOptions().WitnessMethodElimination);
1005+
Resilient || IGM.getOptions().WitnessMethodElimination;
10061006
if (shouldEmitDispatchThunk) {
10071007
IGM.emitDispatchThunk(func);
10081008
}

lib/IRGen/IRSymbolVisitor.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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())

test/TBD/distributed_library_evolution.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
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 \

0 commit comments

Comments
 (0)