Python: Add clarifying comment and pragma.

This commit is contained in:
Mark Shannon
2019-06-14 16:57:32 +01:00
parent 1d269b0cd5
commit f29dfa5112

View File

@@ -548,7 +548,8 @@ module Pruner {
simply_dead(pred, succ)
}
/* Helper for `unreachableEdge` */
/* Helper for `unreachableEdge`, deal with inequalities here to avoid blow up */
pragma [inline]
private predicate contradicts(Constraint a, Constraint b) {
a.contradicts(b) or
a.(ConstrainedByConstant).minValue() > b.(ConstrainedByConstant).maxValue() or