diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2021-05-20 17:41:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-21 00:41:50 +0000 |
commit | 9670dd43576cd21de82e22e76c57e783aa143d21 (patch) | |
tree | 7a5157afa203bbe0a8755bdb0e178fb993d7e262 /src/preprocessing/passes/bv_to_int.cpp | |
parent | 9e5f2385b73d55f675fa3996a2dd6df0e8d7652b (diff) |
BV: Rename BITVECTOR_PLUS to BITVECTOR_ADD. (#6589)
Diffstat (limited to 'src/preprocessing/passes/bv_to_int.cpp')
-rw-r--r-- | src/preprocessing/passes/bv_to_int.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/preprocessing/passes/bv_to_int.cpp b/src/preprocessing/passes/bv_to_int.cpp index c725081c2..8b5d2417b 100644 --- a/src/preprocessing/passes/bv_to_int.cpp +++ b/src/preprocessing/passes/bv_to_int.cpp @@ -100,7 +100,7 @@ Node BVToInt::makeBinary(Node n) */ kind::Kind_t k = current.getKind(); if ((numChildren > 2) - && (k == kind::BITVECTOR_PLUS || k == kind::BITVECTOR_MULT + && (k == kind::BITVECTOR_ADD || k == kind::BITVECTOR_MULT || k == kind::BITVECTOR_AND || k == kind::BITVECTOR_OR || k == kind::BITVECTOR_XOR || k == kind::BITVECTOR_CONCAT)) { @@ -159,7 +159,7 @@ Node BVToInt::eliminationPass(Node n) CVC5_UNUSED kind::Kind_t k = current.getKind(); uint64_t numChildren = current.getNumChildren(); Assert((numChildren == 2) - || !(k == kind::BITVECTOR_PLUS || k == kind::BITVECTOR_MULT + || !(k == kind::BITVECTOR_ADD || k == kind::BITVECTOR_MULT || k == kind::BITVECTOR_AND || k == kind::BITVECTOR_OR || k == kind::BITVECTOR_XOR || k == kind::BITVECTOR_CONCAT)); toVisit.pop_back(); @@ -347,7 +347,7 @@ Node BVToInt::translateWithChildren(Node original, Node returnNode; switch (oldKind) { - case kind::BITVECTOR_PLUS: + case kind::BITVECTOR_ADD: { Assert(originalNumChildren == 2); uint64_t bvsize = original[0].getType().getBitVectorSize(); |