summaryrefslogtreecommitdiff
path: root/src/expr/expr_manager_template.cpp
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2016-09-14 16:41:27 -0500
committerajreynol <andrew.j.reynolds@gmail.com>2016-09-14 16:41:27 -0500
commitd43e5fb294d89ba69f7d2607a12c8700b7ec9345 (patch)
treedde7459b84aa182fefdcdafd4d004fada98b8fd8 /src/expr/expr_manager_template.cpp
parentbeb73911f71daa6711390264221e7b4de7dc8c6c (diff)
Support for unique variable generation in node manager.
Diffstat (limited to 'src/expr/expr_manager_template.cpp')
-rw-r--r--src/expr/expr_manager_template.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/expr/expr_manager_template.cpp b/src/expr/expr_manager_template.cpp
index aa5634e7a..6d8497a60 100644
--- a/src/expr/expr_manager_template.cpp
+++ b/src/expr/expr_manager_template.cpp
@@ -941,11 +941,10 @@ Expr ExprManager::mkBoundVar(Type type) {
return Expr(this, d_nodeManager->mkBoundVarPtr(*type.d_typeNode));
}
-Expr ExprManager::mkSepNil(Type type) {
+Expr ExprManager::mkUniqueVar(Type type, Kind k){
NodeManagerScope nms(d_nodeManager);
- Node n = d_nodeManager->mkSepNil(*type.d_typeNode);
+ Node n = d_nodeManager->mkUniqueVar(*type.d_typeNode, k);
return n.toExpr();
- //return Expr(this, d_nodeManager->mkSepNilPtr(*type.d_typeNode));
}
Expr ExprManager::mkAssociative(Kind kind,
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback