summaryrefslogtreecommitdiff
path: root/src/smt/boolean_terms.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2013-12-16 07:30:06 -0500
committerMorgan Deters <mdeters@cs.nyu.edu>2013-12-16 09:36:16 -0500
commitce6d5ca3fac179c2b5846df5c2661c4f26384425 (patch)
tree55655a8d7d86c39b6dd9bf3a1f6e18b79749f754 /src/smt/boolean_terms.h
parentf00388be05d459a9db4db359d602317bc7e1f3b9 (diff)
Fix for bug 544.
Diffstat (limited to 'src/smt/boolean_terms.h')
-rw-r--r--src/smt/boolean_terms.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/smt/boolean_terms.h b/src/smt/boolean_terms.h
index 904d47b5f..89611f5ea 100644
--- a/src/smt/boolean_terms.h
+++ b/src/smt/boolean_terms.h
@@ -35,6 +35,9 @@ namespace attr {
typedef expr::Attribute<attr::BooleanTermAttrTag, Node> BooleanTermAttr;
class BooleanTermConverter {
+ /** The type of the Boolean term conversion variable cache */
+ typedef std::hash_map<Node, Node, NodeHashFunction> BooleanTermVarCache;
+
/** The type of the Boolean term conversion cache */
typedef std::hash_map< std::pair<Node, theory::TheoryId>, Node,
PairHashFunction< Node, bool,
@@ -58,6 +61,8 @@ class BooleanTermConverter {
/** The conversion for "true" when in datatypes contexts. */
Node d_ttDt;
+ /** The cache used during Boolean term variable conversion */
+ BooleanTermVarCache d_varCache;
/** The cache used during Boolean term conversion */
BooleanTermCache d_termCache;
/** The cache used during Boolean term type conversion */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback