Skip to content

Commit 9a1d2b3

Browse files
tautschnigRemi Delmas
authored and
Remi Delmas
committed
local_bitvector_analysist: track all non-dirty locals
We previously only tracked pointers, but upcoming work will add bits that apply to all locals.
1 parent 4ec7d9b commit 9a1d2b3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/analyses/local_bitvector_analysis.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ bool local_bitvector_analysist::merge(points_tot &a, points_tot &b)
5454
bool local_bitvector_analysist::is_tracked(const irep_idt &identifier)
5555
{
5656
localst::locals_sett::const_iterator it = locals.locals.find(identifier);
57-
return it != locals.locals.end() && ns.lookup(*it).type.id() == ID_pointer &&
58-
!dirty(identifier);
57+
return it != locals.locals.end() && !dirty(identifier);
5958
}
6059

6160
void local_bitvector_analysist::assign_lhs(

0 commit comments

Comments
 (0)