Skip to content

Commit b77374a

Browse files
authored
Merge pull request swiftlang#12958 from slavapestov/squash-warning
SILOptimizer: Fix a warning
2 parents 2914c6b + 2aa126e commit b77374a

File tree

2 files changed

+2
-2
lines changed
  • include/swift/SILOptimizer/Utils
  • lib/SILOptimizer/Utils

2 files changed

+2
-2
lines changed

include/swift/SILOptimizer/Utils/CFG.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ bool splitAllCriticalEdges(SILFunction &F, bool OnlyNonCondBr,
131131
///
132132
/// A current invariant of Ownership SIL is that cond_br can only have critical
133133
/// edges with non-trivial arguments. This simplifies computation.
134-
bool splitAllCondBrCriticalEdgesWithNonTrivialArgs(SILFunction &F,
134+
void splitAllCondBrCriticalEdgesWithNonTrivialArgs(SILFunction &F,
135135
DominanceInfo *DT,
136136
SILLoopInfo *LI);
137137

lib/SILOptimizer/Utils/CFG.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ void swift::completeJointPostDominanceSet(
931931
copy(MustVisitSuccessorBlocks, std::back_inserter(Result));
932932
}
933933

934-
bool swift::splitAllCondBrCriticalEdgesWithNonTrivialArgs(SILFunction &Fn,
934+
void swift::splitAllCondBrCriticalEdgesWithNonTrivialArgs(SILFunction &Fn,
935935
DominanceInfo *DT,
936936
SILLoopInfo *LI) {
937937
// Find our targets.

0 commit comments

Comments
 (0)