Skip to content

Commit 113e200

Browse files
klaasDaniel Kroening
klaas
authored and
Daniel Kroening
committed
Fixed a bug in local_bitvector_analysis wherein an expression's ID was
used in place of the expression's type's ID. cr https://code.amazon.com/reviews/CR-2723653
1 parent 0c0e288 commit 113e200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analyses/local_bitvector_analysis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ bool local_bitvector_analysist::is_tracked(const irep_idt &identifier)
6262
{
6363
localst::locals_mapt::const_iterator it=locals.locals_map.find(identifier);
6464
if(it==locals.locals_map.end() ||
65-
it->second.id()!=ID_pointer ||
65+
it->second.type().id()!=ID_pointer ||
6666
dirty(identifier))
6767
return false;
6868

0 commit comments

Comments
 (0)