@@ -284,7 +284,6 @@ class change_impactt
284284 char prefix,
285285 const goto_programt &goto_program,
286286 const namespacet &ns,
287- const irep_idt &function_id,
288287 goto_programt::const_targett &target) const ;
289288};
290289
@@ -606,7 +605,7 @@ void change_impactt::output_change_impact(
606605 else
607606 UNREACHABLE;
608607
609- output_instruction (prefix, goto_program, ns, function_id, target);
608+ output_instruction (prefix, goto_program, ns, target);
610609 }
611610}
612611
@@ -644,7 +643,7 @@ void change_impactt::output_change_impact(
644643
645644 if (old_mod_flags&DELETED)
646645 {
647- output_instruction (' -' , goto_program, o_ns, function_id, o_target);
646+ output_instruction (' -' , goto_program, o_ns, o_target);
648647 ++o_target;
649648 --target;
650649 continue ;
@@ -696,7 +695,7 @@ void change_impactt::output_change_impact(
696695 else
697696 UNREACHABLE;
698697
699- output_instruction (prefix, goto_program, n_ns, function_id, target);
698+ output_instruction (prefix, goto_program, n_ns, target);
700699 }
701700 for ( ;
702701 o_target!=old_goto_program.instructions .end ();
@@ -724,15 +723,14 @@ void change_impactt::output_change_impact(
724723 else
725724 UNREACHABLE;
726725
727- output_instruction (prefix, goto_program, o_ns, function_id, o_target);
726+ output_instruction (prefix, goto_program, o_ns, o_target);
728727 }
729728}
730729
731730void change_impactt::output_instruction (
732731 char prefix,
733732 const goto_programt &goto_program,
734733 const namespacet &ns,
735- const irep_idt &function_id,
736734 goto_programt::const_targett &target) const
737735{
738736 if (compact_output)
@@ -748,7 +746,7 @@ void change_impactt::output_instruction(
748746 else
749747 {
750748 std::cout << prefix;
751- goto_program. output_instruction (ns, function_id, std::cout, *target );
749+ target-> output ( std::cout);
752750 }
753751}
754752
0 commit comments