File tree 1 file changed +1
-11
lines changed
1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -47,12 +47,6 @@ static void unreachable_instructions(
47
47
it!=dominators.cfg .entry_map .end ();
48
48
++it)
49
49
{
50
- if (it->first ->is_dead () ||
51
- (it->first ->is_assign () &&
52
- to_code_assign (it->first ->code ).lhs ().get (ID_identifier)==
53
- " __CPROVER_dead_object" ))
54
- continue ;
55
-
56
50
const cfg_dominatorst::cfgt::nodet &n=dominators.cfg [it->second ];
57
51
if (n.dominators .empty ())
58
52
dest.insert (std::make_pair (it->first ->location_number ,
@@ -78,11 +72,7 @@ static void all_unreachable(
78
72
dead_mapt &dest)
79
73
{
80
74
forall_goto_program_instructions (it, goto_program)
81
- if (!it->is_end_function () &&
82
- !it->is_dead () &&
83
- !(it->is_assign () &&
84
- to_code_assign (it->code ).lhs ().get (ID_identifier)==
85
- " __CPROVER_dead_object" ))
75
+ if (!it->is_end_function ())
86
76
dest.insert (std::make_pair (it->location_number , it));
87
77
}
88
78
You can’t perform that action at this time.
0 commit comments