We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1227ef commit d970673Copy full SHA for d970673
src/goto-diff/goto_diff_parse_options.cpp
@@ -280,6 +280,13 @@ int goto_diff_parse_optionst::doit()
280
if(get_goto_program_ret!=-1)
281
return get_goto_program_ret;
282
283
+ if(cmdline.isset("show-loops"))
284
+ {
285
+ show_loop_ids(get_ui(), goto_model1);
286
+ show_loop_ids(get_ui(), goto_model2);
287
+ return true;
288
+ }
289
+
290
if(
291
cmdline.isset("show-goto-functions") ||
292
cmdline.isset("list-goto-functions"))
@@ -438,13 +445,6 @@ bool goto_diff_parse_optionst::process_goto_program(
438
445
439
446
// add loop ids
440
447
goto_functions.compute_loop_numbers();
441
-
442
- // show it?
443
- if(cmdline.isset("show-loops"))
444
- {
- show_loop_ids(get_ui(), goto_model);
- return true;
- }
448
}
449
450
catch(const char *e)
0 commit comments