Skip to content

Commit bc4454a

Browse files
committed
Use extended interpretation of "is constant"
1 parent 7031dc2 commit bc4454a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analyses/constant_propagator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ void constant_propagator_domaint::assign_rec(
3838
values.replace_const(tmp);
3939
simplify(tmp, ns);
4040

41-
if(tmp.is_constant())
41+
if(values.is_constant(tmp))
4242
values.set_to(s, tmp);
4343
else
4444
values.set_to_top(s);

0 commit comments

Comments
 (0)