mirror of
https://github.com/Z3Prover/z3
synced 2025-05-09 16:55:47 +00:00
ported VCC trace streams
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
80405dbd62
commit
288a96610f
21 changed files with 149 additions and 160 deletions
|
@ -304,13 +304,13 @@ namespace smt {
|
|||
if (th)
|
||||
th->conflict_resolution_eh(to_app(n), var);
|
||||
}
|
||||
#ifndef SMTCOMP
|
||||
if (m_params.m_trace_stream != NULL) {
|
||||
*m_params.m_trace_stream << "[resolve-lit] " << m_conflict_lvl - lvl << " ";
|
||||
m_ctx.display_literal(*m_params.m_trace_stream, ~antecedent);
|
||||
*m_params.m_trace_stream << "\n";
|
||||
|
||||
if (get_manager().has_trace_stream()) {
|
||||
get_manager().trace_stream() << "[resolve-lit] " << m_conflict_lvl - lvl << " ";
|
||||
m_ctx.display_literal(get_manager().trace_stream(), ~antecedent);
|
||||
get_manager().trace_stream() << "\n";
|
||||
}
|
||||
#endif
|
||||
|
||||
if (lvl == m_conflict_lvl) {
|
||||
num_marks++;
|
||||
}
|
||||
|
@ -478,13 +478,12 @@ namespace smt {
|
|||
}
|
||||
|
||||
do {
|
||||
#ifndef SMTCOMP
|
||||
if (m_params.m_trace_stream != NULL) {
|
||||
*m_params.m_trace_stream << "[resolve-process] ";
|
||||
m_ctx.display_literal(*m_params.m_trace_stream, ~consequent);
|
||||
*m_params.m_trace_stream << "\n";
|
||||
|
||||
if (get_manager().has_trace_stream()) {
|
||||
get_manager().trace_stream() << "[resolve-process] ";
|
||||
m_ctx.display_literal(get_manager().trace_stream(), ~consequent);
|
||||
get_manager().trace_stream() << "\n";
|
||||
}
|
||||
#endif
|
||||
|
||||
TRACE("conflict", tout << "processing consequent: "; m_ctx.display_literal(tout, consequent); tout << "\n";
|
||||
tout << "num_marks: " << num_marks << ", js kind: " << js.get_kind() << "\n";);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue