summaryrefslogtreecommitdiff
path: root/src/theory/rewriter.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-10-12 16:09:12 -0500
committerGitHub <noreply@github.com>2021-10-12 21:09:12 +0000
commitafd08bf3024c1f4c0d2fa8bcfc3a2cccab6f44ad (patch)
tree6ddcd7fd6ba44e979a269d92705bedc1841194f6 /src/theory/rewriter.h
parentd4f5508ee07f5e9ec0de4721c5e2a784c0c06234 (diff)
Eliminate calls to currentResourceManager (#7350)
The remaining calls to smt::currentResourceManager are in the bitblasters, which should probably update to Env. FYI @mpreiner .
Diffstat (limited to 'src/theory/rewriter.h')
-rw-r--r--src/theory/rewriter.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/theory/rewriter.h b/src/theory/rewriter.h
index be11ff5de..f96062b61 100644
--- a/src/theory/rewriter.h
+++ b/src/theory/rewriter.h
@@ -35,7 +35,7 @@ class Evaluator;
* The main rewriter class.
*/
class Rewriter {
- friend class cvc5::Env; // to initialize the evaluators of this class
+ friend class cvc5::Env; // to set the resource manager
public:
Rewriter();
@@ -159,6 +159,9 @@ class Rewriter {
void clearCachesInternal();
+ /** The resource manager, for tracking resource usage */
+ ResourceManager* d_resourceManager;
+
/** Theory rewriters used by this rewriter instance */
TheoryRewriter* d_theoryRewriters[theory::THEORY_LAST];
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback