File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 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(
809809 cmdline.isset (" pointer-check" ));
810810 status () << " Virtual function removal" << eom;
811811 remove_virtual_functions (goto_model);
812+ status () << " Cleaning inline assembler statements" << eom;
813+ remove_asm (goto_model);
812814}
813815
814816// / Remove function pointers that can be resolved by analysing const variables
@@ -1184,12 +1186,6 @@ void goto_instrument_parse_optionst::instrument_goto_program()
11841186
11851187 if (cmdline.isset (" mm" ))
11861188 {
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-
11931189 std::string mm=cmdline.get_value (" mm" );
11941190 memory_modelt model;
11951191
You can’t perform that action at this time.
0 commit comments