File tree 1 file changed +15
-15
lines changed
1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -742,6 +742,21 @@ int cbmc_parse_optionst::get_goto_program(
742
742
743
743
if (process_goto_program (options, goto_functions))
744
744
return 6 ;
745
+
746
+ // show it?
747
+ if (cmdline.isset (" show-loops" ))
748
+ {
749
+ show_loop_ids (get_ui (), goto_functions);
750
+ return 0 ;
751
+ }
752
+
753
+ // show it?
754
+ if (cmdline.isset (" show-goto-functions" ))
755
+ {
756
+ namespacet ns (symbol_table);
757
+ show_goto_functions (ns, get_ui (), goto_functions);
758
+ return 0 ;
759
+ }
745
760
}
746
761
747
762
catch (const char *e)
@@ -961,21 +976,6 @@ bool cbmc_parse_optionst::process_goto_program(
961
976
// remove skips
962
977
remove_skip (goto_functions);
963
978
goto_functions.update ();
964
-
965
- // show it?
966
- if (cmdline.isset (" show-loops" ))
967
- {
968
- show_loop_ids (get_ui (), goto_functions);
969
- return true ;
970
- }
971
-
972
- // show it?
973
- if (cmdline.isset (" show-goto-functions" ))
974
- {
975
- namespacet ns (symbol_table);
976
- show_goto_functions (ns, get_ui (), goto_functions);
977
- return true ;
978
- }
979
979
}
980
980
981
981
catch (const char *e)
You can’t perform that action at this time.
0 commit comments