File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -98,15 +98,6 @@ class remove_function_pointerst:public messaget
98
98
void fix_return_type (
99
99
code_function_callt &function_call,
100
100
goto_programt &dest);
101
-
102
- void
103
- compute_address_taken_in_symbols (std::unordered_set<irep_idt> &address_taken)
104
- {
105
- const symbol_tablet &symbol_table=ns.get_symbol_table ();
106
-
107
- for (const auto &s : symbol_table.symbols )
108
- compute_address_taken_functions (s.second .value , address_taken);
109
- }
110
101
};
111
102
112
103
remove_function_pointerst::remove_function_pointerst (
@@ -120,7 +111,9 @@ remove_function_pointerst::remove_function_pointerst(
120
111
add_safety_assertion(_add_safety_assertion),
121
112
only_resolve_const_fps(only_resolve_const_fps)
122
113
{
123
- compute_address_taken_in_symbols (address_taken);
114
+ for (const auto &s : symbol_table.symbols )
115
+ compute_address_taken_functions (s.second .value , address_taken);
116
+
124
117
compute_address_taken_functions (goto_functions, address_taken);
125
118
126
119
// build type map
You can’t perform that action at this time.
0 commit comments