BVDebug("bitvector-bb") << " with bits " << toString(bits);
}
- if (Theory::theoryOf(node) == theory::THEORY_BV ||
- bb->isSharedTerm(node)) {
- bb->storeVariable(node);
- }
-
+ bb->storeVariable(node);
}
void DefaultConstBB (TNode node, Bits& bits, Bitblaster* bb) {
__gnu_cxx::hash_set<TNode, TNodeHashFunction>::iterator it = d_variables.begin();
for (; it!= d_variables.end(); ++it) {
TNode var = *it;
- Node const_value = getVarValue(var);
- m->assertEquality(var, const_value, true);
+ if (Theory::theoryOf(var) == theory::THEORY_BV || isSharedTerm(var)) {
+ Node const_value = getVarValue(var);
+ m->assertEquality(var, const_value, true);
+ }
}
}