Skip to content

Commit 7710ee8

Browse files
authored
Merge pull request #29527 from atrick/fix-escape-assert
2 parents f70f60b + 1af49ec commit 7710ee8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/SILOptimizer/Analysis/EscapeAnalysis.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ class EscapeAnalysis : public BottomUpIPAnalysis {
449449

450450
/// Sets the outgoing points-to edge. The \p To node must be a Content node.
451451
void setPointsToEdge(CGNode *To) {
452-
assert(!To->mergeTo);
452+
assert(!To->isMerged);
453453
assert(To->Type == NodeType::Content &&
454454
"Wrong node type for points-to edge");
455455
pointsToIsEdge = true;

0 commit comments

Comments
 (0)