mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 00:18:45 +00:00
make calls to theory_str::dump_assignments depend on the correct trace flags
This commit is contained in:
parent
15055c8041
commit
ad7247df51
1 changed files with 4 additions and 4 deletions
|
@ -6485,7 +6485,7 @@ void theory_str::push_scope_eh() {
|
||||||
|
|
||||||
sLevel += 1;
|
sLevel += 1;
|
||||||
TRACE("t_str", tout << "push to " << sLevel << std::endl;);
|
TRACE("t_str", tout << "push to " << sLevel << std::endl;);
|
||||||
TRACE("t_str_dump_assign_on_scope_change", dump_assignments(););
|
TRACE_CODE(dump_assignments(););
|
||||||
}
|
}
|
||||||
|
|
||||||
void theory_str::recursive_check_variable_scope(expr * ex) {
|
void theory_str::recursive_check_variable_scope(expr * ex) {
|
||||||
|
@ -6544,7 +6544,7 @@ void theory_str::check_variable_scope() {
|
||||||
void theory_str::pop_scope_eh(unsigned num_scopes) {
|
void theory_str::pop_scope_eh(unsigned num_scopes) {
|
||||||
sLevel -= num_scopes;
|
sLevel -= num_scopes;
|
||||||
TRACE("t_str", tout << "pop " << num_scopes << " to " << sLevel << std::endl;);
|
TRACE("t_str", tout << "pop " << num_scopes << " to " << sLevel << std::endl;);
|
||||||
TRACE("t_str_dump_assign_on_scope_change", dump_assignments(););
|
TRACE_CODE(dump_assignments(););
|
||||||
|
|
||||||
// list of expr* to remove from cut_var_map
|
// list of expr* to remove from cut_var_map
|
||||||
ptr_vector<expr> cutvarmap_removes;
|
ptr_vector<expr> cutvarmap_removes;
|
||||||
|
@ -6615,7 +6615,7 @@ void theory_str::pop_scope_eh(unsigned num_scopes) {
|
||||||
void theory_str::dump_assignments() {
|
void theory_str::dump_assignments() {
|
||||||
ast_manager & m = get_manager();
|
ast_manager & m = get_manager();
|
||||||
context & ctx = get_context();
|
context & ctx = get_context();
|
||||||
TRACE("t_str_detail",
|
TRACE("t_str_dump_assign_on_scope_change",
|
||||||
tout << "dumping all assignments:" << std::endl;
|
tout << "dumping all assignments:" << std::endl;
|
||||||
expr_ref_vector assignments(m);
|
expr_ref_vector assignments(m);
|
||||||
ctx.get_assignments(assignments);
|
ctx.get_assignments(assignments);
|
||||||
|
@ -7503,7 +7503,7 @@ final_check_status theory_str::final_check_eh() {
|
||||||
}
|
}
|
||||||
|
|
||||||
TRACE("t_str", tout << "final check" << std::endl;);
|
TRACE("t_str", tout << "final check" << std::endl;);
|
||||||
TRACE("t_str_dump_assign", dump_assignments(););
|
TRACE_CODE(dump_assignments(););
|
||||||
check_variable_scope();
|
check_variable_scope();
|
||||||
|
|
||||||
if (opt_DeferEQCConsistencyCheck) {
|
if (opt_DeferEQCConsistencyCheck) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue