diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-07-16 15:53:22 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-07-16 15:53:22 +0000 |
commit | 36615c5e7332e26645b33ce9b6bab25439a5108e (patch) | |
tree | 166efefced107009f4a68ff3d0c6623540dfa435 /src/expr/node_manager.h | |
parent | 25396f93b7df85c80a39ed207483e28a8c86ff26 (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.h | 4 |
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> |