File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -809,6 +809,8 @@ void goto_instrument_parse_optionst::do_indirect_call_and_rtti_removal(
809
809
cmdline.isset (" pointer-check" ));
810
810
status () << " Virtual function removal" << eom;
811
811
remove_virtual_functions (goto_model);
812
+ status () << " Cleaning inline assembler statements" << eom;
813
+ remove_asm (goto_model);
812
814
}
813
815
814
816
// / Remove function pointers that can be resolved by analysing const variables
@@ -1184,12 +1186,6 @@ void goto_instrument_parse_optionst::instrument_goto_program()
1184
1186
1185
1187
if (cmdline.isset (" mm" ))
1186
1188
{
1187
- // TODO: move to wmm/weak_mem, and copy goto_functions AFTER some of the
1188
- // modifications. Do the analysis on the copy, after remove_asm, and
1189
- // instrument the original (without remove_asm)
1190
- remove_asm (goto_model);
1191
- goto_model.goto_functions .update ();
1192
-
1193
1189
std::string mm=cmdline.get_value (" mm" );
1194
1190
memory_modelt model;
1195
1191
You can’t perform that action at this time.
0 commit comments