File tree Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Original file line number Diff line number Diff line change @@ -390,27 +390,9 @@ void goto_symext::phi_function(
390
390
const statet::goto_statet &goto_state,
391
391
statet &dest_state)
392
392
{
393
- auto ssa_of_current_name =
394
- [&](const std::pair<irep_idt, std::pair<ssa_exprt, unsigned >> &pair) {
395
- return pair.second .first ;
396
- };
397
-
398
- auto dest_state_names_range =
399
- make_range (dest_state.level2 .current_names )
400
- .filter (
401
- [&](const std::pair<irep_idt, std::pair<ssa_exprt, unsigned >> &pair) {
402
- // We ignore the identifiers that are already in goto_state names
403
- return goto_state.level2_current_names .count (pair.first ) == 0 ;
404
- })
405
- .map <const ssa_exprt>(ssa_of_current_name);
406
-
407
- // go over all variables to see what changed
408
- auto all_current_names_range = make_range (goto_state.level2_current_names )
409
- .map <const ssa_exprt>(ssa_of_current_name)
410
- .concat (dest_state_names_range);
411
-
412
393
guardt diff_guard;
413
- if (all_current_names_range.empty ())
394
+ if (goto_state.level2_current_names .empty () &&
395
+ dest_state.level2 .current_names .empty ())
414
396
return ;
415
397
416
398
diff_guard=goto_state.guard ;
You can’t perform that action at this time.
0 commit comments