Skip to content

Commit 1de0764

Browse files
committed
[ConstraintGraph] Make binding inference more incremental and stop resetting bindings
1 parent 10df9d2 commit 1de0764

File tree

2 files changed

+75
-257
lines changed

2 files changed

+75
-257
lines changed

include/swift/Sema/ConstraintGraph.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ class ConstraintGraphNode {
124124
void retractFromInference(Constraint *constraint, bool notifyFixedBindings);
125125
void reintroduceToInference(Constraint *constraint, bool notifyFixedBindings);
126126
void resetBindingSet();
127+
void updateAdjacentVars() const;
127128
/// }
128129

129130
/// The constraint graph this node belongs to.

0 commit comments

Comments
 (0)