@@ -410,9 +410,8 @@ void symex_target_equationt::convert_assignments(
410
410
decision_procedure.conditional_output (
411
411
decision_procedure.debug (),
412
412
[&step](messaget::mstreamt &mstream) {
413
- std::ostringstream oss;
414
- step.output (oss);
415
- mstream << oss.str () << messaget::eom;
413
+ step.output (mstream);
414
+ mstream << messaget::eom;
416
415
});
417
416
418
417
decision_procedure.set_to_true (step.cond_expr );
@@ -459,9 +458,8 @@ void symex_target_equationt::convert_guards(
459
458
prop_conv.conditional_output (
460
459
prop_conv.debug (),
461
460
[&step](messaget::mstreamt &mstream) {
462
- std::ostringstream oss;
463
- step.output (oss);
464
- mstream << oss.str () << messaget::eom;
461
+ step.output (mstream);
462
+ mstream << messaget::eom;
465
463
});
466
464
467
465
try
@@ -494,9 +492,8 @@ void symex_target_equationt::convert_assumptions(
494
492
prop_conv.conditional_output (
495
493
prop_conv.debug (),
496
494
[&step](messaget::mstreamt &mstream) {
497
- std::ostringstream oss;
498
- step.output (oss);
499
- mstream << oss.str () << messaget::eom;
495
+ step.output (mstream);
496
+ mstream << messaget::eom;
500
497
});
501
498
502
499
try
@@ -530,9 +527,8 @@ void symex_target_equationt::convert_goto_instructions(
530
527
prop_conv.conditional_output (
531
528
prop_conv.debug (),
532
529
[&step](messaget::mstreamt &mstream) {
533
- std::ostringstream oss;
534
- step.output (oss);
535
- mstream << oss.str () << messaget::eom;
530
+ step.output (mstream);
531
+ mstream << messaget::eom;
536
532
});
537
533
538
534
try
@@ -565,9 +561,8 @@ void symex_target_equationt::convert_constraints(
565
561
decision_procedure.conditional_output (
566
562
decision_procedure.debug (),
567
563
[&step](messaget::mstreamt &mstream) {
568
- std::ostringstream oss;
569
- step.output (oss);
570
- mstream << oss.str () << messaget::eom;
564
+ step.output (mstream);
565
+ mstream << messaget::eom;
571
566
});
572
567
573
568
try
@@ -626,6 +621,13 @@ void symex_target_equationt::convert_assertions(
626
621
{
627
622
if (step.is_assert ())
628
623
{
624
+ prop_conv.conditional_output (
625
+ prop_conv.debug (),
626
+ [&step](messaget::mstreamt &mstream) {
627
+ step.output (mstream);
628
+ mstream << messaget::eom;
629
+ });
630
+
629
631
implies_exprt implication (
630
632
assumption,
631
633
step.cond_expr );
0 commit comments