Skip to content

Commit d61d359

Browse files
committed
[sil] Add missing pack instructions to the address walker.
1 parent 94acfd2 commit d61d359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/SIL/AddressWalker.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ TransitiveAddressWalker<Impl>::walk(SILValue projectedAddress) && {
200200
isa<RetainValueAddrInst>(user) || isa<ReleaseValueAddrInst>(user) ||
201201
isa<PackElementSetInst>(user) || isa<PackElementGetInst>(user) ||
202202
isa<DeinitExistentialAddrInst>(user) || isa<LoadBorrowInst>(user) ||
203-
isa<TupleAddrConstructorInst>(user)) {
203+
isa<TupleAddrConstructorInst>(user) || isa<DeallocPackInst>(user)) {
204204
callVisitUse(op);
205205
continue;
206206
}

0 commit comments

Comments
 (0)