From b8841e768a37131c492508cd0e12b9acd8bf4c2b Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Mon, 11 Jan 2021 09:46:28 -0600 Subject: 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. --- src/smt/dump_manager.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/smt/dump_manager.cpp') 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) -- cgit v1.2.3