Skip to content

Commit 2244875

Browse files
committed
Add a clarifying comment to updateTransitiveLiveness
1 parent d98ccb0 commit 2244875

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/swift/SIL/ScopedAddressUtils.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ struct ScopedAddressValue {
107107
AddressUseKind computeTransitiveLiveness(SSAPrunedLiveness &liveness) const;
108108

109109
/// Update \p liveness for all the transitive address uses.
110+
///
111+
/// Valid for any type of liveness, SSA or MultiDef, that may be used by a
112+
/// scoped address.
110113
AddressUseKind updateTransitiveLiveness(PrunedLiveness &liveness) const;
111114

112115
/// Create appropriate scope ending instruction at \p insertPt.

0 commit comments

Comments
 (0)