File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -838,6 +838,10 @@ void goto_instrument_parse_optionst::do_indirect_call_and_rtti_removal(
838
838
cmdline.isset (" pointer-check" ));
839
839
status () << " Virtual function removal" << eom;
840
840
remove_virtual_functions (goto_model);
841
+ status () << " Cleaning inline assembler statements" << eom;
842
+ remove_asm (goto_model);
843
+
844
+ goto_model.goto_functions .update ();
841
845
}
842
846
843
847
// / Remove function pointers that can be resolved by analysing const variables
@@ -1213,12 +1217,6 @@ void goto_instrument_parse_optionst::instrument_goto_program()
1213
1217
1214
1218
if (cmdline.isset (" mm" ))
1215
1219
{
1216
- // TODO: move to wmm/weak_mem, and copy goto_functions AFTER some of the
1217
- // modifications. Do the analysis on the copy, after remove_asm, and
1218
- // instrument the original (without remove_asm)
1219
- remove_asm (goto_model);
1220
- goto_model.goto_functions .update ();
1221
-
1222
1220
std::string mm=cmdline.get_value (" mm" );
1223
1221
memory_modelt model;
1224
1222
You can’t perform that action at this time.
0 commit comments