summaryrefslogtreecommitdiff
path: root/Test/inline
diff options
context:
space:
mode:
authorGravatar Rustan Leino <leino@microsoft.com>2011-12-12 13:52:36 -0800
committerGravatar Rustan Leino <leino@microsoft.com>2011-12-12 13:52:36 -0800
commita0331bcece67f35325fe70f2fda1b87d66397ab1 (patch)
tree29a3325b513466bbd112c50d7ccd101277ef3773 /Test/inline
parentb476991da92ea85c4d1a3cad84dc5171e08a4cf8 (diff)
Boogie: Changed Expr.Not to keep swap arguments rather change direction of operator when negating <, <=, >=, or >
Diffstat (limited to 'Test/inline')
-rw-r--r--Test/inline/Answer6
1 files changed, 3 insertions, 3 deletions
diff --git a/Test/inline/Answer b/Test/inline/Answer
index 6f63f1e3..eb409cc2 100644
--- a/Test/inline/Answer
+++ b/Test/inline/Answer
@@ -591,7 +591,7 @@ implementation {:inline 1} find(A: [int]int, size: int, x: int) returns (ret: in
goto anon4_LoopHead;
anon4_LoopDone:
- assume i >= size;
+ assume size <= i;
goto anon3;
anon3:
@@ -714,7 +714,7 @@ implementation main(x: int)
goto inline$find$0$anon4_LoopHead;
inline$find$0$anon4_LoopDone:
- assume inline$find$0$i >= inline$find$0$size;
+ assume inline$find$0$size <= inline$find$0$i;
goto inline$find$0$anon3;
inline$find$0$anon3:
@@ -811,7 +811,7 @@ implementation {:inline 1} find(A: [int]int, size: int, x: int) returns (ret: in
goto anon4_LoopHead;
anon4_LoopDone:
- assume i >= size;
+ assume size <= i;
goto anon3;
anon3: