@@ -414,13 +414,13 @@ bool BorrowingOperand::visitBorrowIntroducingUserResults(
414414 case BorrowingOperandKind::Yield:
415415 llvm_unreachable (" Never has borrow introducer results!" );
416416 case BorrowingOperandKind::BeginBorrow: {
417- auto value = BorrowedValue::get (cast<BeginBorrowInst>(op->getUser ()));
417+ auto value = BorrowedValue (cast<BeginBorrowInst>(op->getUser ()));
418418 assert (value);
419419 return visitor (value);
420420 }
421421 case BorrowingOperandKind::Branch: {
422422 auto *bi = cast<BranchInst>(op->getUser ());
423- auto value = BorrowedValue::get (
423+ auto value = BorrowedValue (
424424 bi->getDestBB ()->getArgument (op->getOperandNumber ()));
425425 assert (value && " guaranteed-to-unowned conversion not allowed on branches" );
426426 return visitor (value);
@@ -820,7 +820,7 @@ bool swift::getAllBorrowIntroducingValues(SILValue inputValue,
820820 SILValue value = worklist.pop_back_val ();
821821
822822 // First check if v is an introducer. If so, stash it and continue.
823- if (auto scopeIntroducer = BorrowedValue::get (value)) {
823+ if (auto scopeIntroducer = BorrowedValue (value)) {
824824 out.push_back (scopeIntroducer);
825825 continue ;
826826 }
@@ -868,7 +868,7 @@ BorrowedValue swift::getSingleBorrowIntroducingValue(SILValue inputValue) {
868868 while (true ) {
869869 // First check if our initial value is an introducer. If we have one, just
870870 // return it.
871- if (auto scopeIntroducer = BorrowedValue::get (currentValue)) {
871+ if (auto scopeIntroducer = BorrowedValue (currentValue)) {
872872 return scopeIntroducer;
873873 }
874874
0 commit comments