File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -891,7 +891,6 @@ SILBasicBlock::iterator OwnershipRAUWUtility::handleUnowned() {
891
891
auto extender = getLifetimeExtender ();
892
892
SILValue borrow =
893
893
extender.createPlusZeroBorrow (newValue, oldValue->getUses ());
894
- SILBuilderWithScope builder (oldValue);
895
894
return replaceAllUsesAndErase (oldValue, borrow, callbacks);
896
895
}
897
896
case OwnershipKind::Owned: {
@@ -921,7 +920,6 @@ SILBasicBlock::iterator OwnershipRAUWUtility::handleUnowned() {
921
920
}
922
921
auto extender = getLifetimeExtender ();
923
922
SILValue copy = extender.createPlusZeroCopy (newValue, oldValue->getUses ());
924
- SILBuilderWithScope builder (oldValue);
925
923
auto result = replaceAllUsesAndErase (oldValue, copy, callbacks);
926
924
return result;
927
925
}
You can’t perform that action at this time.
0 commit comments