summaryrefslogtreecommitdiff
path: root/src/expr/node_manager.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-07-16 15:53:22 +0000
committerMorgan Deters <mdeters@gmail.com>2012-07-16 15:53:22 +0000
commit36615c5e7332e26645b33ce9b6bab25439a5108e (patch)
tree166efefced107009f4a68ff3d0c6623540dfa435 /src/expr/node_manager.h
parent25396f93b7df85c80a39ed207483e28a8c86ff26 (diff)
Support for having two SmtEngines with the same ExprManager.
Basically, this involves creating a separate StatisticsRegistry for the ExprManager and for the SmtEngine. Otherwise, theories register the same statistic twice. This is a larger problem, though, for creating multiple instances of theories, and that is unaddressed. Still, separating out the expr statistics into a separate registry is probably a good idea, since the expr package is somewhat separate anyway (and in the short term it allows two SmtEngines to co-exist).
Diffstat (limited to 'src/expr/node_manager.h')
-rw-r--r--src/expr/node_manager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr/node_manager.h b/src/expr/node_manager.h
index 6ce96e70a..6c34eb4a3 100644
--- a/src/expr/node_manager.h
+++ b/src/expr/node_manager.h
@@ -277,7 +277,7 @@ public:
}
/** Get this node manager's statistics registry */
- StatisticsRegistry* getStatisticsRegistry() const {
+ StatisticsRegistry* getStatisticsRegistry() const throw() {
return d_statisticsRegistry;
}
@@ -802,7 +802,7 @@ public:
Debug("current") << "node manager scope: "
<< "returning to " << NodeManager::s_current << "\n";
}
-};
+};/* class NodeManagerScope */
template <class AttrKind>
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback