Skip to content

Commit b472724

Browse files
martinmartin
authored andcommitted
Move a function so that the ordering in .cpp matches the .h
1 parent dd9bf17 commit b472724

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/analyses/ai.cpp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,17 @@ bool ai_baset::fixedpoint(
246246
return new_data;
247247
}
248248

249+
void ai_baset::fixedpoint(
250+
const goto_functionst &goto_functions,
251+
const namespacet &ns)
252+
{
253+
goto_functionst::function_mapt::const_iterator
254+
f_it=goto_functions.function_map.find(goto_functions.entry_point());
255+
256+
if(f_it!=goto_functions.function_map.end())
257+
fixedpoint(f_it->first, f_it->second.body, goto_functions, ns);
258+
}
259+
249260
bool ai_baset::visit(
250261
const irep_idt &function_id,
251262
trace_ptrt p,
@@ -444,17 +455,6 @@ bool ai_baset::visit_end_function(
444455
return false;
445456
}
446457

447-
void ai_baset::fixedpoint(
448-
const goto_functionst &goto_functions,
449-
const namespacet &ns)
450-
{
451-
goto_functionst::function_mapt::const_iterator
452-
f_it=goto_functions.function_map.find(goto_functions.entry_point());
453-
454-
if(f_it!=goto_functions.function_map.end())
455-
fixedpoint(f_it->first, f_it->second.body, goto_functions, ns);
456-
}
457-
458458
bool ai_recursive_interproceduralt::visit_edge_function_call(
459459
const irep_idt &calling_function_id,
460460
trace_ptrt p_call,

0 commit comments

Comments
 (0)