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(
136
136
message_handlert &message_handler,
137
137
const object_factory_parameterst &object_factory_parameters)
138
138
{
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 )
140
142
{
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
+ }
146
153
}
147
154
148
155
goto_functions.compute_location_numbers ();
You can’t perform that action at this time.
0 commit comments