Skip to content

Commit edcefe3

Browse files
authored
Merge pull request swiftlang#35426 from atrick/fix-printmultiresult
Fix printSILMultipleValueInstructionResult.
2 parents 382793c + a11a59b commit edcefe3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/swift/SIL/SILValue.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ llvm::raw_ostream &operator<<(llvm::raw_ostream &os,
803803
/// Consequently, OperandOwnership kinds that are allowed to take either Owned
804804
/// or Guaranteed values map to an OwnershipKind::Any constraint.
805805
///
806-
/// Unowned values are more restricted than then Owned or Guaranteed values in
806+
/// Unowned values are more restricted than Owned or Guaranteed values in
807807
/// terms of their valid uses, which helps limit the situations where the
808808
/// implementation needs to consider this special case. This additional
809809
/// restriction is validated by `canAcceptUnownedValue`.

lib/SIL/IR/SILPrinter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ class SILPrinter : public SILInstructionVisitor<SILPrinter> {
10701070
const MultipleValueInstructionResult *result) {
10711071
// This should really only happen during debugging.
10721072
if (result->getParent()->getNumResults() == 1) {
1073-
*this << "**" << Ctx.getID(result) << "** = ";
1073+
*this << "**" << Ctx.getID(result) << "**";
10741074
} else {
10751075
*this << '(';
10761076
llvm::interleave(

0 commit comments

Comments
 (0)