File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -106,15 +106,13 @@ void goto_symext::symex_goto(statet &state)
106
106
}
107
107
}
108
108
109
- exprt simpl_state_guard = state.guard .as_expr ();
110
- do_simplify (simpl_state_guard);
111
-
112
109
// No point executing both branches of an unconditional goto.
113
110
if (
114
111
new_guard.is_true () && // We have an unconditional goto, AND
115
- // either there are no blocks between us and the target in the
116
- // surrounding scope
117
- (simpl_state_guard.is_true () ||
112
+ // either there are no reachable blocks between us and the target in the
113
+ // surrounding scope (because state.guard == true implies there is no path
114
+ // around this GOTO instruction)
115
+ (state.guard .is_true () ||
118
116
// or there is another block, but we're doing path exploration so
119
117
// we're going to skip over it for now and return to it later.
120
118
symex_config.doing_path_exploration ))
You can’t perform that action at this time.
0 commit comments