File tree Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -460,12 +460,6 @@ struct BorrowingOperand {
460
460
// / Return the borrowing operand's value.
461
461
SILValue getScopeIntroducingUserResult ();
462
462
463
- // / Compute the implicit uses that this borrowing operand "injects" into the
464
- // / set of its operands uses.
465
- // /
466
- // / E.x.: end_apply uses.
467
- void getImplicitUses (SmallVectorImpl<Operand *> &foundUses) const ;
468
-
469
463
void print (llvm::raw_ostream &os) const ;
470
464
SWIFT_DEBUG_DUMP { print (llvm::dbgs ()); }
471
465
Original file line number Diff line number Diff line change @@ -828,20 +828,6 @@ SILValue BorrowingOperand::getScopeIntroducingUserResult() {
828
828
llvm_unreachable (" covered switch" );
829
829
}
830
830
831
- void BorrowingOperand::getImplicitUses (
832
- SmallVectorImpl<Operand *> &foundUses) const {
833
- // FIXME: this visitScopeEndingUses should never return false once dead
834
- // borrows are disallowed.
835
- auto handleUse = [&](Operand *endOp) {
836
- foundUses.push_back (endOp);
837
- return true ;
838
- };
839
- if (!visitScopeEndingUses (handleUse, handleUse)) {
840
- // Special-case for dead borrows.
841
- foundUses.push_back (op);
842
- }
843
- }
844
-
845
831
// ===----------------------------------------------------------------------===//
846
832
// Borrow Introducers
847
833
// ===----------------------------------------------------------------------===//
You can’t perform that action at this time.
0 commit comments