diff options
Diffstat (limited to 'src/expr/expr_manager_template.cpp')
-rw-r--r-- | src/expr/expr_manager_template.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/expr/expr_manager_template.cpp b/src/expr/expr_manager_template.cpp index bc4205217..951b92e1c 100644 --- a/src/expr/expr_manager_template.cpp +++ b/src/expr/expr_manager_template.cpp @@ -869,7 +869,8 @@ SortConstructorType ExprManager::mkSortConstructor(const std::string& name, * @param check whether we should check the type as we compute it * (default: false) */ -Type ExprManager::getType(Expr e, bool check) throw (TypeCheckingException) { +Type ExprManager::getType(Expr e, bool check) +{ NodeManagerScope nms(d_nodeManager); Type t; try { @@ -995,12 +996,13 @@ unsigned ExprManager::maxArity(Kind kind) { NodeManager* ExprManager::getNodeManager() const { return d_nodeManager; } - -Statistics ExprManager::getStatistics() const throw() { +Statistics ExprManager::getStatistics() const +{ return Statistics(*d_nodeManager->getStatisticsRegistry()); } -SExpr ExprManager::getStatistic(const std::string& name) const throw() { +SExpr ExprManager::getStatistic(const std::string& name) const +{ return d_nodeManager->getStatisticsRegistry()->getStatistic(name); } |