@@ -33,7 +33,7 @@ ci_lazy_methodst::ci_lazy_methodst(
3333 java_class_loader(java_class_loader),
3434 pointer_type_selector(pointer_type_selector)
3535{
36- // build the class hierarclass_hierarchyy
36+ // build the class hierarchy
3737 class_hierarchy (symbol_table);
3838}
3939
@@ -65,13 +65,13 @@ bool ci_lazy_methodst::operator()(
6565 if (main_function.stop_convert )
6666 {
6767 // 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 ;
7070 if (!main_class.empty ())
71- reaclass_hierarchyable_classes .push_back (main_class);
71+ reachable_classes .push_back (main_class);
7272 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 )
7575 {
7676 const auto &methods=
7777 java_class_loader.class_map .at (classname).parsed_class .methods ;
@@ -190,8 +190,7 @@ bool ci_lazy_methodst::operator()(
190190
191191 debug () << " CI lazy methods: removed "
192192 << symbol_table.symbols .size () - keep_symbols.symbols .size ()
193- << " unreaclass_hierarchyable methods and globals"
194- << eom;
193+ << " unreachable methods and globals" << eom;
195194
196195 symbol_table.swap (keep_symbols);
197196
0 commit comments