File tree 1 file changed +4
-9
lines changed
1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -103,15 +103,12 @@ bool ci_lazy_methodst::operator()(
103
103
104
104
// Add any extra entry points specified; we should elaborate these in the
105
105
// same way as the main function.
106
- std::vector<irep_idt> extra_entry_points;
107
106
for (const auto &extra_function_generator : lazy_methods_extra_entry_points)
108
107
{
109
- const auto & extra_methods = extra_function_generator (symbol_table);
110
- extra_entry_points. insert (
111
- extra_entry_points. end (), extra_methods.begin (), extra_methods.end ());
108
+ std::vector<irep_idt> extra_methods =
109
+ extra_function_generator (symbol_table);
110
+ methods_to_convert_later. insert ( extra_methods.begin (), extra_methods.end ());
112
111
}
113
- methods_to_convert_later.insert (
114
- extra_entry_points.begin (), extra_entry_points.end ());
115
112
116
113
std::unordered_set<irep_idt> instantiated_classes;
117
114
@@ -300,9 +297,7 @@ ci_lazy_methodst::convert_and_analyze_method(
300
297
symbol_table,
301
298
pointer_type_selector);
302
299
303
- const bool could_not_convert_function =
304
- method_converter (method_name, needed_methods);
305
- if (could_not_convert_function)
300
+ if (method_converter (method_name, needed_methods))
306
301
return result;
307
302
308
303
const exprt &method_body = symbol_table.lookup_ref (method_name).value ;
You can’t perform that action at this time.
0 commit comments