File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -2638,6 +2638,7 @@ void swift::visitAccessedAddress(SILInstruction *I,
2638
2638
#include " swift/AST/ReferenceStorage.def"
2639
2639
case SILInstructionKind::StoreInst:
2640
2640
case SILInstructionKind::StoreBorrowInst:
2641
+ case SILInstructionKind::PackElementSetInst:
2641
2642
visitor (&I->getAllOperands ()[StoreInst::Dest]);
2642
2643
return ;
2643
2644
@@ -2655,7 +2656,8 @@ void swift::visitAccessedAddress(SILInstruction *I,
2655
2656
case SILInstructionKind::OpenExistentialAddrInst:
2656
2657
case SILInstructionKind::SwitchEnumAddrInst:
2657
2658
case SILInstructionKind::UncheckedTakeEnumDataAddrInst:
2658
- case SILInstructionKind::UnconditionalCheckedCastInst: {
2659
+ case SILInstructionKind::UnconditionalCheckedCastInst:
2660
+ case SILInstructionKind::PackElementGetInst: {
2659
2661
// Assuming all the above have only a single address operand.
2660
2662
assert (I->getNumOperands () - I->getNumTypeDependentOperands () == 1 );
2661
2663
Operand *singleOperand = &I->getAllOperands ()[0 ];
You can’t perform that action at this time.
0 commit comments