File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -549,11 +549,6 @@ int jbmc_parse_optionst::doit()
549
549
if (set_properties (goto_model))
550
550
return 7 ; // should contemplate EX_USAGE from sysexits.h
551
551
552
- if (cmdline.isset (" validate-goto-model" ))
553
- {
554
- goto_model.validate ();
555
- }
556
-
557
552
if (
558
553
options.get_bool_option (" program-only" ) ||
559
554
options.get_bool_option (" show-vcc" ))
@@ -769,6 +764,11 @@ int jbmc_parse_optionst::get_goto_program(
769
764
if (goto_model == nullptr )
770
765
return 6 ;
771
766
767
+ if (cmdline.isset (" validate-goto-model" ))
768
+ {
769
+ goto_model->validate ();
770
+ }
771
+
772
772
// show it?
773
773
if (cmdline.isset (" show-loops" ))
774
774
{
Original file line number Diff line number Diff line change @@ -557,11 +557,6 @@ int cbmc_parse_optionst::doit()
557
557
if (set_properties ())
558
558
return CPROVER_EXIT_SET_PROPERTIES_FAILED;
559
559
560
- if (cmdline.isset (" validate-goto-model" ))
561
- {
562
- goto_model.validate ();
563
- }
564
-
565
560
if (
566
561
options.get_bool_option (" program-only" ) ||
567
562
options.get_bool_option (" show-vcc" ))
@@ -713,6 +708,11 @@ int cbmc_parse_optionst::get_goto_program(
713
708
if (cbmc_parse_optionst::process_goto_program (goto_model, options, log))
714
709
return CPROVER_EXIT_INTERNAL_ERROR;
715
710
711
+ if (cmdline.isset (" validate-goto-model" ))
712
+ {
713
+ goto_model.validate ();
714
+ }
715
+
716
716
// show it?
717
717
if (cmdline.isset (" show-loops" ))
718
718
{
You can’t perform that action at this time.
0 commit comments