File tree 1 file changed +13
-13
lines changed
1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -1185,6 +1185,19 @@ void goto_instrument_parse_optionst::instrument_goto_program()
1185
1185
remove_skip (goto_model);
1186
1186
}
1187
1187
1188
+ if (cmdline.isset (" generate-function-body" ))
1189
+ {
1190
+ auto generate_implementation = generate_function_bodies_factory (
1191
+ cmdline.get_value (" generate-function-body-options" ),
1192
+ goto_model.symbol_table ,
1193
+ *message_handler);
1194
+ generate_function_bodies (
1195
+ std::regex (cmdline.get_value (" generate-function-body" )),
1196
+ *generate_implementation,
1197
+ goto_model,
1198
+ *message_handler);
1199
+ }
1200
+
1188
1201
// add generic checks, if needed
1189
1202
goto_check (options, goto_model);
1190
1203
@@ -1487,19 +1500,6 @@ void goto_instrument_parse_optionst::instrument_goto_program()
1487
1500
throw 0 ;
1488
1501
}
1489
1502
1490
- if (cmdline.isset (" generate-function-body" ))
1491
- {
1492
- auto generate_implementation = generate_function_bodies_factory (
1493
- cmdline.get_value (" generate-function-body-options" ),
1494
- goto_model.symbol_table ,
1495
- *message_handler);
1496
- generate_function_bodies (
1497
- std::regex (cmdline.get_value (" generate-function-body" )),
1498
- *generate_implementation,
1499
- goto_model,
1500
- *message_handler);
1501
- }
1502
-
1503
1503
// aggressive slicer
1504
1504
if (cmdline.isset (" aggressive-slice" ))
1505
1505
{
You can’t perform that action at this time.
0 commit comments