File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -105,18 +105,6 @@ void goto_symext::symex_goto(statet &state)
105
105
return ; // nothing else to do
106
106
}
107
107
}
108
- else if (new_guard.is_true () && !old_guard.is_true ())
109
- {
110
- // we may have left a loop (i.e., the forward goto is beyond
111
- // the end of the loop) as the loop condition has become false
112
- // via constant propagation and simplification (the original
113
- // condition "old_guard" was not trivially true, but "new_guard"
114
- // is) -- reset all candidate loop counters
115
- for (const auto &i_e : instruction.incoming_edges )
116
- if (i_e->is_goto () && i_e->is_backwards_goto () &&
117
- goto_target->location_number >i_e->location_number )
118
- frame.loop_iterations [goto_programt::loop_id (i_e)].count =0 ;
119
- }
120
108
121
109
goto_programt::const_targett new_state_pc, state_pc;
122
110
symex_targett::sourcet original_source=state.source ;
You can’t perform that action at this time.
0 commit comments