slightly stronger decision for NE
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1998 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
ab51a624e1
commit
1c4cb0ec62
|
@ -136,10 +136,8 @@ public class AdHocSemiDecisionProcedure extends AbstractSemiDecisionProcedure {
|
|||
} else if (r.getRelation().equals(BinaryRelation.NE)) {
|
||||
ITerm lhs = r.getTerms().get(0);
|
||||
ITerm rhs = r.getTerms().get(1);
|
||||
if (lhs.getKind().equals(ITerm.Kind.CONSTANT) && rhs.getKind().equals(ITerm.Kind.CONSTANT)) {
|
||||
if (lhs.equals(rhs)) {
|
||||
return true;
|
||||
}
|
||||
if (lhs.equals(rhs)) {
|
||||
return true;
|
||||
}
|
||||
} else if (r.getRelation().equals(BinaryRelation.LT)) {
|
||||
ITerm lhs = r.getTerms().get(0);
|
||||
|
|
Loading…
Reference in New Issue