File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
include/swift/SILOptimizer/Utils Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,14 @@ namespace swift {
45
45
// / lastUser or boundaryEdge. But with infinite loops, it is possible for both
46
46
// / lastUsers and boundaryEdges to be empty even if there are uses within the
47
47
// / loop.
48
+ // /
49
+ // / TODO: combine this with PrunedLivenessBoundary.
48
50
struct ValueLifetimeBoundary {
49
51
SmallVector<SILInstruction *, 8 > lastUsers;
50
52
SmallVector<SILBasicBlock *, 8 > boundaryEdges;
51
53
52
54
// / Visit the point at which a lifetime-ending instruction must be inserted,
53
- // / exclusing dead-end blocks. This is only useful when it is known that none
55
+ // / excluding dead-end blocks. This is only useful when it is known that none
54
56
// / of the lastUsers ends the lifetime, for example when creating a new borrow
55
57
// / scope to enclose all uses.
56
58
void visitInsertionPoints (
You can’t perform that action at this time.
0 commit comments