Skip to content

Commit 0603645

Browse files
committed
[NFC] LifetimeDependenceUtils comment
1 parent bb9e52c commit 0603645

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SwiftCompilerSources/Sources/Optimizer/Utilities/LifetimeDependenceUtils.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ extension LifetimeDependence {
161161

162162
// Construct a LifetimeDependence from a return value. This only
163163
// constructs a dependence for ~Escapable results that do not have a
164-
// lifetime dependence (@_unsafeNonescapableResult).
164+
// lifetime dependence (@lifetime(immortal), @_unsafeNonescapableResult).
165165
//
166166
// This is necessary because inserting a mark_dependence placeholder for such an unsafe dependence would illegally
167167
// have the same base and value operand.

0 commit comments

Comments
 (0)