File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 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()(
103103
104104 // Add any extra entry points specified; we should elaborate these in the
105105 // same way as the main function.
106- std::vector<irep_idt> extra_entry_points;
107106 for (const auto &extra_function_generator : lazy_methods_extra_entry_points)
108107 {
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 ());
112111 }
113- methods_to_convert_later.insert (
114- extra_entry_points.begin (), extra_entry_points.end ());
115112
116113 std::unordered_set<irep_idt> instantiated_classes;
117114
@@ -300,9 +297,7 @@ ci_lazy_methodst::convert_and_analyze_method(
300297 symbol_table,
301298 pointer_type_selector);
302299
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))
306301 return result;
307302
308303 const exprt &method_body = symbol_table.lookup_ref (method_name).value ;
You can’t perform that action at this time.
0 commit comments