diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2016-09-14 16:41:27 -0500 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2016-09-14 16:41:27 -0500 |
commit | d43e5fb294d89ba69f7d2607a12c8700b7ec9345 (patch) | |
tree | dde7459b84aa182fefdcdafd4d004fada98b8fd8 /src/expr/expr_manager_template.cpp | |
parent | beb73911f71daa6711390264221e7b4de7dc8c6c (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.cpp | 5 |
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, |