Skip to content

Commit b4ba956

Browse files
Remove unneccessary call to set_indices
ssa_l2 is already an L2 expression, its indices doesn't need to be reset.
1 parent 4822b01 commit b4ba956

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/goto-symex/goto_symex_state.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,8 +452,7 @@ bool goto_symex_statet::l2_thread_read_encoding(
452452
source,
453453
symex_targett::assignment_typet::PHI);
454454

455-
// TODO: are we setting l2 indices of something that is already l2?
456-
expr = set_indices<L2>(std::move(ssa_l2), ns).get();
455+
expr = std::move(ssa_l2);
457456

458457
a_s_read.second.push_back(guard);
459458
if(!no_write.op().is_false())

0 commit comments

Comments
 (0)