File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -8504,7 +8504,7 @@ class MoveOnlyWrapperToCopyableValueInst
8504
8504
class MoveOnlyWrapperToCopyableBoxInst
8505
8505
: public UnaryInstructionBase<
8506
8506
SILInstructionKind::MoveOnlyWrapperToCopyableBoxInst,
8507
- FirstArgOwnershipForwardingSingleValueInst > {
8507
+ OwnershipForwardingSingleValueInstruction > {
8508
8508
friend class SILBuilder ;
8509
8509
8510
8510
MoveOnlyWrapperToCopyableBoxInst (SILDebugLocation DebugLoc, SILValue operand,
@@ -10833,8 +10833,6 @@ inline ForwardingInstruction *ForwardingInstruction::get(SILInstruction *inst) {
10833
10833
if (auto *result =
10834
10834
dyn_cast<OwnershipForwardingMultipleValueInstruction>(inst))
10835
10835
return result;
10836
- if (auto *result = dyn_cast<MoveOnlyWrapperToCopyableValueInst>(inst))
10837
- return result;
10838
10836
if (auto *result = dyn_cast<CopyableToMoveOnlyWrapperValueInst>(inst))
10839
10837
return result;
10840
10838
return nullptr ;
You can’t perform that action at this time.
0 commit comments