We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47933cb commit ef929eaCopy full SHA for ef929ea
src/analyses/constant_propagator.cpp
@@ -46,7 +46,7 @@ void constant_propagator_domaint::transform(
46
locationt to,
47
ai_baset &ai,
48
const namespacet &ns,
49
- ai_domain_baset::edge_typet /*edge_type*/)
+ ai_domain_baset::edge_typet edge_type)
50
{
51
#ifdef DEBUG
52
std::cout << "Transform from/to:\n";
@@ -130,7 +130,7 @@ void constant_propagator_domaint::transform(
130
const symbol_exprt &symbol_expr=to_symbol_expr(function);
131
const irep_idt id=symbol_expr.get_identifier();
132
133
- if(to==next)
+ if(edge_type == ai_domain_baset::edge_typet::FUNCTION_LOCAL)
134
135
if(id==CPROVER_PREFIX "set_must" ||
136
id==CPROVER_PREFIX "get_must" ||
0 commit comments