File tree 3 files changed +1
-10
lines changed
3 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,6 @@ bool model_argc_argv(
181
181
182
182
// update counters etc.
183
183
remove_skip (start);
184
- start.compute_loop_numbers ();
185
184
goto_model.goto_functions .update ();
186
185
187
186
return false ;
Original file line number Diff line number Diff line change @@ -533,11 +533,7 @@ void remove_virtual_functions(goto_model_functiont &function)
533
533
class_hierarchyt class_hierarchy;
534
534
class_hierarchy (function.get_symbol_table ());
535
535
remove_virtual_functionst rvf (function.get_symbol_table (), class_hierarchy);
536
- bool changed = rvf.remove_virtual_functions (
537
- function.get_goto_function ().body );
538
- // Give fresh location numbers to `function`, in case it has grown:
539
- if (changed)
540
- function.compute_location_numbers ();
536
+ rvf.remove_virtual_functions (function.get_goto_function ().body );
541
537
}
542
538
543
539
void remove_virtual_function (
Original file line number Diff line number Diff line change @@ -290,8 +290,6 @@ void replace_java_nondet(goto_model_functiont &function)
290
290
goto_programt &program = function.get_goto_function ().body ;
291
291
replace_java_nondet (program);
292
292
293
- function.compute_location_numbers ();
294
-
295
293
remove_skip (program);
296
294
}
297
295
@@ -302,8 +300,6 @@ void replace_java_nondet(goto_functionst &goto_functions)
302
300
replace_java_nondet (goto_program.second .body );
303
301
}
304
302
305
- goto_functions.compute_location_numbers ();
306
-
307
303
remove_skip (goto_functions);
308
304
}
309
305
You can’t perform that action at this time.
0 commit comments