mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
EscapeInfo: handle is_unique
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user