We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e70863 commit fcd470aCopy full SHA for fcd470a
src/goto-programs/convert_nondet.cpp
@@ -136,13 +136,20 @@ void convert_nondet(
136
message_handlert &message_handler,
137
const object_factory_parameterst &object_factory_parameters)
138
{
139
- for(auto &goto_program : goto_functions.function_map)
+ const namespacet ns(symbol_table);
140
+
141
+ for(auto &f_it : goto_functions.function_map)
142
- convert_nondet(
- goto_program.second.body,
143
- symbol_table,
144
- message_handler,
145
- object_factory_parameters);
+ const symbolt &symbol=ns.lookup(f_it.first);
+ 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
+ }
153
}
154
155
goto_functions.compute_location_numbers();
0 commit comments