diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-01-11 09:46:28 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-11 09:46:28 -0600 |
commit | b8841e768a37131c492508cd0e12b9acd8bf4c2b (patch) | |
tree | a4de18a51ac37abcf874265bea431154f18cc2ac /src/smt/dump_manager.cpp | |
parent | ae82eb306143ade54a6f99b2aae0b62b8c77cd35 (diff) |
Further simplifications in preparation for removing Expr layer (#5756)
This deletes variable flags from NodeManager::mkVar and moves ExprManager sort flags to NodeManager.
These flags are used for determining when a variable or sort should be printed via the old dump infrastructure. The old dump infrastructure is simplified in this PR accordingly.
This PR should preserve behavior of the previous dumping with a minor exception that the internal trace "declarations" will also included symbols introduced from define-fun. This will be further refactored later. This is in preparation for removing the includes expr.h/expr_manager.h from node_manager.h.
Diffstat (limited to 'src/smt/dump_manager.cpp')
-rw-r--r-- | src/smt/dump_manager.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/smt/dump_manager.cpp b/src/smt/dump_manager.cpp index 706c2e886..77f5f7d0d 100644 --- a/src/smt/dump_manager.cpp +++ b/src/smt/dump_manager.cpp @@ -49,12 +49,9 @@ void DumpManager::resetAssertions() // currently, do nothing } -void DumpManager::addToModelCommandAndDump(const NodeCommand& c, - uint32_t flags, - bool userVisible, - const char* dumpTag) +void DumpManager::addToDump(const NodeCommand& c, const char* dumpTag) { - Trace("smt") << "SMT addToModelCommandAndDump(" << c << ")" << std::endl; + Trace("smt") << "SMT addToDump(" << c << ")" << std::endl; if (Dump.isOn(dumpTag)) { if (d_fullyInited) |