@@ -152,8 +152,6 @@ void instrumentert::cfg_visitort::visit_cfg_function(
152
152
loop_strategyt replicate_body,
153
153
/* function to analyse */
154
154
const irep_idt &function,
155
- /* incoming edges */
156
- const std::set<instrumentert::cfg_visitort::nodet> &initial_vertex,
157
155
/* outcoming edges */
158
156
std::set<instrumentert::cfg_visitort::nodet> &ending_vertex)
159
157
{
@@ -657,11 +655,6 @@ void instrumentert::cfg_visitort::visit_cfg_function_call(
657
655
loop_strategyt replicate_body)
658
656
{
659
657
const goto_programt::instructiont &instruction=*i_it;
660
- std::set<nodet> s;
661
- for (const auto &in : instruction.incoming_edges )
662
- if (in_pos.find (in)!=in_pos.end ())
663
- for (const auto &node : in_pos[in])
664
- s.insert (node);
665
658
666
659
const exprt &fun=to_code_function_call (instruction.code ).function ();
667
660
const irep_idt &fun_id=to_symbol_expr (fun).get_identifier ();
@@ -689,7 +682,7 @@ void instrumentert::cfg_visitort::visit_cfg_function_call(
689
682
{
690
683
/* just inlines */
691
684
/* TODO */
692
- visit_cfg_function(value_sets, model, no_dependencies, fun_id, s,
685
+ visit_cfg_function(value_sets, model, no_dependencies, fun_id,
693
686
in_pos[i_it]);
694
687
updated.insert(i_it);
695
688
}
@@ -699,7 +692,7 @@ void instrumentert::cfg_visitort::visit_cfg_function_call(
699
692
{
700
693
/* normal inlining strategy */
701
694
visit_cfg_function (value_sets, model, no_dependencies, replicate_body,
702
- fun_id, s, in_pos[i_it]);
695
+ fun_id, in_pos[i_it]);
703
696
updated.insert (i_it);
704
697
}
705
698
0 commit comments