@@ -33,7 +33,7 @@ ci_lazy_methodst::ci_lazy_methodst(
33
33
java_class_loader(java_class_loader),
34
34
pointer_type_selector(pointer_type_selector)
35
35
{
36
- // build the class hierarclass_hierarchyy
36
+ // build the class hierarchy
37
37
class_hierarchy (symbol_table);
38
38
}
39
39
@@ -65,13 +65,13 @@ bool ci_lazy_methodst::operator()(
65
65
if (main_function.stop_convert )
66
66
{
67
67
// Failed, mark all functions in the given main class(es)
68
- // reaclass_hierarchyable .
69
- std::vector<irep_idt> reaclass_hierarchyable_classes ;
68
+ // reachable .
69
+ std::vector<irep_idt> reachable_classes ;
70
70
if (!main_class.empty ())
71
- reaclass_hierarchyable_classes .push_back (main_class);
71
+ reachable_classes .push_back (main_class);
72
72
else
73
- reaclass_hierarchyable_classes= main_jar_classes;
74
- for (const auto &classname : reaclass_hierarchyable_classes )
73
+ reachable_classes = main_jar_classes;
74
+ for (const auto &classname : reachable_classes )
75
75
{
76
76
const auto &methods=
77
77
java_class_loader.class_map .at (classname).parsed_class .methods ;
@@ -190,8 +190,7 @@ bool ci_lazy_methodst::operator()(
190
190
191
191
debug () << " CI lazy methods: removed "
192
192
<< symbol_table.symbols .size () - keep_symbols.symbols .size ()
193
- << " unreaclass_hierarchyable methods and globals"
194
- << eom;
193
+ << " unreachable methods and globals" << eom;
195
194
196
195
symbol_table.swap (keep_symbols);
197
196
0 commit comments