Skip to content

Commit 86cadcd

Browse files
author
martin
committed
Revert "Fix iterator equality check bug in custom_bitvector_analysis.cpp"
This reverts commit af314f5.
1 parent db925de commit 86cadcd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/analyses/custom_bitvector_analysis.cpp

+5-2
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ void custom_bitvector_domaint::transform(
270270
locationt to,
271271
ai_baset &ai,
272272
const namespacet &ns,
273-
ai_domain_baset::edge_typet edge_type)
273+
ai_domain_baset::edge_typet /*edge_type*/)
274274
{
275275
// upcast of ai
276276
custom_bitvector_analysist &cba=
@@ -396,8 +396,11 @@ void custom_bitvector_domaint::transform(
396396
}
397397
else
398398
{
399+
goto_programt::const_targett next=from;
400+
++next;
401+
399402
// only if there is an actual call, i.e., we have a body
400-
if(edge_type != ai_domain_baset::edge_typet::FUNCTION_LOCAL)
403+
if(next!=to)
401404
{
402405
const code_typet &code_type=
403406
to_code_type(ns.lookup(identifier).type);

0 commit comments

Comments
 (0)