diff options
author | Cristian Cadar <cristic@cs.stanford.edu> | 2009-06-13 22:09:19 +0000 |
---|---|---|
committer | Cristian Cadar <cristic@cs.stanford.edu> | 2009-06-13 22:09:19 +0000 |
commit | 6d0b6d1015adee6f4e4f72b1716e3fce7e19698b (patch) | |
tree | c787104a0f595715564618485e93af12d89ee2a4 | |
parent | 0edba4c4d573fb7bc74a79f785065b9d3f8297e0 (diff) | |
download | klee-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
-rw-r--r-- | include/klee/Expr.h | 1 | ||||
-rw-r--r-- | lib/Expr/Expr.cpp | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/include/klee/Expr.h b/include/klee/Expr.h index 6d4df12e..878a70ba 100644 --- a/include/klee/Expr.h +++ b/include/klee/Expr.h @@ -222,7 +222,6 @@ public: static ref<Expr> createCoerceToPointerType(ref<Expr> e); static ref<Expr> createNot(ref<Expr> e); static ref<Expr> createImplies(ref<Expr> hyp, ref<Expr> conc); - static ref<Expr> createIff(ref<Expr> e1, ref<Expr> e2); static ref<Expr> createIsZero(ref<Expr> e); /// Create a little endian read of the given type at offset 0 of the 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())); } |