diff options
author | Liana Hadarean <lianahady@gmail.com> | 2012-10-03 22:38:37 +0000 |
---|---|---|
committer | Liana Hadarean <lianahady@gmail.com> | 2012-10-03 22:38:37 +0000 |
commit | c7d04993e8d73105d091e0b732ddb63131b431a3 (patch) | |
tree | 42c80ecf9990839349310d2baefbd1ab7c543c6d /src/theory/bv/bitblast_strategies.cpp | |
parent | b60ea598f9e45b6b82ea6085e786be394ac9f012 (diff) |
implemented collectModelInfo for TheoryBV
Diffstat (limited to 'src/theory/bv/bitblast_strategies.cpp')
-rw-r--r-- | src/theory/bv/bitblast_strategies.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/theory/bv/bitblast_strategies.cpp b/src/theory/bv/bitblast_strategies.cpp index 80b689b8c..08bd3475a 100644 --- a/src/theory/bv/bitblast_strategies.cpp +++ b/src/theory/bv/bitblast_strategies.cpp @@ -338,9 +338,7 @@ void UndefinedTermBBStrategy(TNode node, Bits& bits, Bitblaster* bb) { } void DefaultVarBB (TNode node, Bits& bits, Bitblaster* bb) { - // Assert (node.getKind() == kind::VARIABLE); Assert(bits.size() == 0); - for (unsigned i = 0; i < utils::getSize(node); ++i) { bits.push_back(utils::mkBitOf(node, i)); } @@ -349,6 +347,10 @@ void DefaultVarBB (TNode node, Bits& bits, Bitblaster* bb) { BVDebug("bitvector-bb") << "theory::bv::DefaultVarBB bitblasting " << node << "\n"; BVDebug("bitvector-bb") << " with bits " << toString(bits); } + // this is not necessairily a variable, but it is a term the theory of bitvectors treads as one + // e.g. a select over a bv array + bb->storeVariable(node); + } void DefaultConstBB (TNode node, Bits& bits, Bitblaster* bb) { |