Skip to content

Commit e16d0cf

Browse files
Remove unused propagation operator
1 parent c850a76 commit e16d0cf

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

src/goto-symex/goto_symex_state.cpp

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -253,27 +253,6 @@ void goto_symex_statet::assignment(
253253
#endif
254254
}
255255

256-
void goto_symex_statet::propagationt::operator()(exprt &expr)
257-
{
258-
if(expr.id()==ID_symbol)
259-
{
260-
valuest::const_iterator it =
261-
values.find(to_symbol_expr(expr).get_identifier());
262-
if(it!=values.end())
263-
expr=it->second;
264-
}
265-
else if(expr.id()==ID_address_of)
266-
{
267-
// ignore
268-
}
269-
else
270-
{
271-
// do this recursively
272-
Forall_operands(it, expr)
273-
operator()(*it);
274-
}
275-
}
276-
277256
void goto_symex_statet::set_ssa_indices(
278257
ssa_exprt &ssa_expr,
279258
const namespacet &ns,

src/goto-symex/goto_symex_state.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ class goto_symex_statet final
7171
public:
7272
typedef std::map<irep_idt, exprt> valuest;
7373
valuest values;
74-
void operator()(exprt &expr);
75-
7674
void remove(const irep_idt &identifier)
7775
{
7876
values.erase(identifier);

0 commit comments

Comments
 (0)