EscapeInfo: handle is_unique

This commit is contained in:
Erik Eckstein
2024-07-26 13:23:37 +02:00
parent da5857d5ec
commit 1440ae7b71
2 changed files with 16 additions and 1 deletions

View File

@@ -556,7 +556,7 @@ fileprivate struct EscapeWalker<V: EscapeVisitor> : ValueDefUseWalker,
case let atp as AddressToPointerInst:
return walkDownUses(ofValue: atp, path: path.with(knownType: nil))
case is DeallocStackInst, is InjectEnumAddrInst, is FixLifetimeInst, is EndBorrowInst, is EndAccessInst,
is DebugValueInst:
is IsUniqueInst, is DebugValueInst:
return .continueWalk
default:
return isEscaping