Skip to content

Commit 3da0e6a

Browse files
committed
[Mem2Reg] Doc'd function.
1 parent a25d56a commit 3da0e6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/SILOptimizer/Transforms/SILMem2Reg.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ class LiveValues {
221221
return guaranteed.stored;
222222
}
223223

224+
/// Whether it's possible and appropriate to end the lifetime.
224225
bool canEndLexicalLifetime() {
225226
if (auto *owned = storage.dyn_cast<Owned>()) {
226227
return owned->canEndLexicalLifetime();

0 commit comments

Comments
 (0)