We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df6f1d6 commit dfe62b4Copy full SHA for dfe62b4
SwiftCompilerSources/Sources/SIL/Utilities/WalkUtils.swift
@@ -777,8 +777,8 @@ extension AddressUseDefWalker {
777
} else {
778
return walkUp(address: ia.base, path: path.push(.anyIndexedElement, index: 0))
779
}
780
- case let mdi as MarkDependenceInst:
781
- return walkUp(address: mdi.operands[0].value, path: path)
+ case is MarkDependenceInst, is MarkUninitializedInst:
+ return walkUp(address: (def as! Instruction).operands[0].value, path: path)
782
case is MoveOnlyWrapperToCopyableAddrInst,
783
is CopyableToMoveOnlyWrapperAddrInst:
784
return walkUp(address: (def as! Instruction).operands[0].value, path: path)
0 commit comments