File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -444,6 +444,7 @@ void symex_target_equationt::convert_assumptions(
444444 with_solver_hardness (
445445 decision_procedure, hardness_register_ssa (step_index, step));
446446 }
447+ step.converted = true ;
447448 }
448449 ++step_index;
449450 }
@@ -532,10 +533,8 @@ void symex_target_equationt::convert_assertions(
532533 }
533534 else if (step.is_assume ())
534535 {
535- decision_procedure.set_to_true (step.cond_expr );
536-
537- with_solver_hardness (
538- decision_procedure, hardness_register_ssa (step_index, step));
536+ PRECONDITION (step.converted );
537+ decision_procedure.set_to_true (step.cond_handle );
539538 }
540539 ++step_index;
541540 }
@@ -585,6 +584,7 @@ void symex_target_equationt::convert_assertions(
585584 }
586585 else if (step.is_assume ())
587586 {
587+ PRECONDITION (step.converted );
588588 // the assumptions have been converted before
589589 // avoid deep nesting of ID_and expressions
590590 if (assumption.id ()==ID_and)
You can’t perform that action at this time.
0 commit comments