Skip to content

Commit db925de

Browse files
author
martin
committed
Revert "Fix iterator equality check bug in constant_propagator.cpp"
This reverts commit ef929ea.
1 parent 2c69364 commit db925de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/analyses/constant_propagator.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ void constant_propagator_domaint::transform(
4646
locationt to,
4747
ai_baset &ai,
4848
const namespacet &ns,
49-
ai_domain_baset::edge_typet edge_type)
49+
ai_domain_baset::edge_typet /*edge_type*/)
5050
{
5151
#ifdef DEBUG
5252
std::cout << "Transform from/to:\n";
@@ -130,7 +130,7 @@ void constant_propagator_domaint::transform(
130130
const symbol_exprt &symbol_expr=to_symbol_expr(function);
131131
const irep_idt id=symbol_expr.get_identifier();
132132

133-
if(edge_type == ai_domain_baset::edge_typet::FUNCTION_LOCAL)
133+
if(to==next)
134134
{
135135
if(id==CPROVER_PREFIX "set_must" ||
136136
id==CPROVER_PREFIX "get_must" ||

0 commit comments

Comments
 (0)