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 @@ -280,8 +280,6 @@ void replace_java_nondet(goto_model_functiont &function)
280
280
goto_programt &program = function.get_goto_function ().body ;
281
281
replace_java_nondet (program);
282
282
283
- function.compute_location_numbers ();
284
-
285
283
remove_skip (program);
286
284
}
287
285
@@ -292,8 +290,6 @@ void replace_java_nondet(goto_functionst &goto_functions)
292
290
replace_java_nondet (goto_program.second .body );
293
291
}
294
292
295
- goto_functions.compute_location_numbers ();
296
-
297
293
remove_skip (goto_functions);
298
294
}
299
295
You can’t perform that action at this time.
0 commit comments