Skip to content

Commit 8d98407

Browse files
authored
Merge pull request diffblue#483 from diffblue/smowton/fix/csvsa-always-queue-successors
CSVSA: disregard return value from 'visit'
2 parents 9b5c1e6 + 6b0657b commit 8d98407

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/pointer-analysis/context_sensitive_value_set_analysis.cpp

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,9 @@ void csvsa_function_contextt::csvsa_visit(locationt l)
113113

114114
// Otherwise turn local successors into global ones:
115115
working_sett local_successors;
116-
bool changed = visit(l, local_successors, goto_program, empty_goto_functions);
117-
if(changed)
118-
{
119-
for(auto &successor : local_successors)
120-
driver.queue_instruction(context_number, successor.second);
121-
}
116+
visit(l, local_successors, goto_program, empty_goto_functions);
117+
for(auto &successor : local_successors)
118+
driver.queue_instruction(context_number, successor.second);
122119
}
123120

124121
void csvsa_function_contextt::merge_call_return_state(

0 commit comments

Comments
 (0)