diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-10-12 16:09:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-12 21:09:12 +0000 |
commit | afd08bf3024c1f4c0d2fa8bcfc3a2cccab6f44ad (patch) | |
tree | 6ddcd7fd6ba44e979a269d92705bedc1841194f6 /src/theory/rewriter.h | |
parent | d4f5508ee07f5e9ec0de4721c5e2a784c0c06234 (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.h | 5 |
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]; |