about summary refs log tree commit diff homepage
path: root/lib/Expr
diff options
context:
space:
mode:
authorCristian Cadar <cristic@cs.stanford.edu>2009-06-13 22:09:19 +0000
committerCristian Cadar <cristic@cs.stanford.edu>2009-06-13 22:09:19 +0000
commit6d0b6d1015adee6f4e4f72b1716e3fce7e19698b (patch)
treec787104a0f595715564618485e93af12d89ee2a4 /lib/Expr
parent0edba4c4d573fb7bc74a79f785065b9d3f8297e0 (diff)
downloadklee-6d0b6d1015adee6f4e4f72b1716e3fce7e19698b.tar.gz
Reverted last change that added createIff. Since we only handle
bitvectors, we can just use Eq.  The parser can distinguish between
boolean formulas and bitvector terms.



git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@73309 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Expr')
-rw-r--r--lib/Expr/Expr.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Expr/Expr.cpp b/lib/Expr/Expr.cpp
index 695312ef..7b680567 100644
--- a/lib/Expr/Expr.cpp
+++ b/lib/Expr/Expr.cpp
@@ -301,11 +301,6 @@ ref<Expr> Expr::createImplies(ref<Expr> hyp, ref<Expr> conc) {
   return OrExpr::create(Expr::createNot(hyp), conc);
 }
 
-ref<Expr> Expr::createIff(ref<Expr> e1, ref<Expr> e2) {
-  return AndExpr::create(Expr::createImplies(e1, e2), 
-			 Expr::createImplies(e2, e1));
-}
-
 ref<Expr> Expr::createIsZero(ref<Expr> e) {
   return EqExpr::create(e, ConstantExpr::create(0, e->getWidth()));
 }