File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1766,6 +1766,8 @@ void goto_instrument_parse_optionst::instrument_goto_program()
17661766 do_indirect_call_and_rtti_removal ();
17671767 do_remove_returns ();
17681768 rewrite_rw_ok (goto_model);
1769+ // full_slicer requires that the model has unique location numbers:
1770+ goto_model.goto_functions .update ();
17691771
17701772 log.warning () << " **** WARNING: Experimental option --full-slice, "
17711773 << " analysis results may be unsound. See "
@@ -1777,8 +1779,6 @@ void goto_instrument_parse_optionst::instrument_goto_program()
17771779 goto_model, cmdline.get_values (" property" ), ui_message_handler);
17781780 else
17791781 {
1780- // full_slicer requires that the model has unique location numbers:
1781- goto_model.goto_functions .update ();
17821782 full_slicer (goto_model, ui_message_handler);
17831783 }
17841784 }
You can’t perform that action at this time.
0 commit comments