Skip to content

Commit 399b687

Browse files
Use identifier parameter instead of getting it from ssa
1 parent 675be99 commit 399b687

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/goto-symex/symex_goto.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -402,13 +402,12 @@ void goto_symext::phi_function(
402402
for_each2(
403403
goto_state.level2_current_names,
404404
dest_state.level2.current_names,
405-
[&](const irep_idt &l_identifier,
405+
[&](const irep_idt &l1_identifier,
406406
const ssa_exprt &ssa,
407407
unsigned goto_count,
408408
unsigned dest_count)
409409
{
410-
const irep_idt l1_identifier = ssa.get_identifier();
411-
const irep_idt &obj_identifier = ssa.get_object_name();
410+
const irep_idt &obj_identifier = ssa.get_object_name();
412411

413412
if(obj_identifier==guard_identifier)
414413
return; // just a guard, don't bother

0 commit comments

Comments
 (0)