File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -136,13 +136,20 @@ void convert_nondet(
136136 message_handlert &message_handler,
137137 const object_factory_parameterst &object_factory_parameters)
138138{
139- for (auto &goto_program : goto_functions.function_map )
139+ const namespacet ns (symbol_table);
140+
141+ for (auto &f_it : goto_functions.function_map )
140142 {
141- convert_nondet (
142- goto_program.second .body ,
143- symbol_table,
144- message_handler,
145- object_factory_parameters);
143+ const symbolt &symbol=ns.lookup (f_it.first );
144+
145+ if (symbol.mode ==ID_java)
146+ {
147+ convert_nondet (
148+ f_it.second .body ,
149+ symbol_table,
150+ message_handler,
151+ object_factory_parameters);
152+ }
146153 }
147154
148155 goto_functions.compute_location_numbers ();
You can’t perform that action at this time.
0 commit comments