Skip to content

Commit 6413682

Browse files
committed
Remove comment that is no longer true.
This code was updated for multiple return values (the SILValue in that case is a MultipleInstructionResult and we can just ask those for their ownership kind).
1 parent b3a2052 commit 6413682

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/SIL/ValueOwnership.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,6 @@ ValueOwnershipKindClassifier::visitBuiltinInst(BuiltinInst *BI) {
520520
//===----------------------------------------------------------------------===//
521521

522522
ValueOwnershipKind SILValue::getOwnershipKind() const {
523-
// Once we have multiple return values, this must be changed.
524523
ValueOwnershipKindClassifier Classifier;
525524
return Classifier.visit(const_cast<ValueBase *>(Value));
526525
}

0 commit comments

Comments
 (0)