Skip to content

Commit 4396eba

Browse files
committed
Update a comment in EscapeAnalysis.
To reflect the most recent compile time fix.
1 parent 887464b commit 4396eba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/SILOptimizer/Analysis/EscapeAnalysis.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,8 @@ void EscapeAnalysis::ConnectionGraph::mergeAllScheduledNodes() {
768768
if (From->mappedValue) {
769769
// values previously mapped to 'From' but not transferred to 'To's
770770
// mappedValue must remain mapped to 'From'. Lookups on those values will
771-
// find 'To' via the mergeTarget. Dropping a value's mapping is illegal
771+
// find 'To' via the mergeTarget and will remap those values to 'To'
772+
// on-the-fly for efficiency. Dropping a value's mapping is illegal
772773
// because it could cause a node to be recreated without the edges that
773774
// have already been discovered.
774775
if (!To->mappedValue) {

0 commit comments

Comments
 (0)