File tree 1 file changed +6
-3
lines changed
substratevm/src/com.oracle.graal.pointsto/src/com/oracle/graal/pointsto/flow
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1112,10 +1112,13 @@ public boolean validateFixedPointState(BigBang bb) {
1112
1112
} else {
1113
1113
for (TypeFlow <?> use : getUses ()) {
1114
1114
/*
1115
- * The type state of saturated flows is not updated anymore. FormalReceiverTypeFlow
1116
- * has a special update method.
1115
+ * In the following cases, we cannot assume that the type state of the use is
1116
+ * accurate: (1) disabled flows do not execute their on{Input|Observed}Saturated
1117
+ * callbacks, so their state might not be up to date, (2) the type state of
1118
+ * saturated flows is not updated anymore, (3) FormalReceiverTypeFlow has a special
1119
+ * update method.
1117
1120
*/
1118
- if (use .isSaturated () || use instanceof FormalReceiverTypeFlow ) {
1121
+ if (! use . isFlowEnabled () || use .isSaturated () || use instanceof FormalReceiverTypeFlow ) {
1119
1122
continue ;
1120
1123
}
1121
1124
/*
You can’t perform that action at this time.
0 commit comments