Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions src/analyses/reaching_definitions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ void rd_range_domaint::transform(
transform_start_thread(ns, *rd);
// do argument-to-parameter assignments
else if(from->is_function_call())
transform_function_call(ns, function_from, from, function_to, to, *rd);
transform_function_call(ns, function_from, from, function_to, *rd);
// cleanup parameters
else if(from->is_end_function())
transform_end_function(ns, function_from, from, function_to, to, *rd);
transform_end_function(ns, function_from, from, to, *rd);
// lhs assignments
else if(from->is_assign())
transform_assign(ns, from, from, *rd);
Expand Down Expand Up @@ -171,7 +171,6 @@ void rd_range_domaint::transform_function_call(
const irep_idt &function_from,
locationt from,
const irep_idt &function_to,
locationt to,
reaching_definitions_analysist &rd)
{
const code_function_callt &code=to_code_function_call(from->code);
Expand Down Expand Up @@ -234,7 +233,6 @@ void rd_range_domaint::transform_end_function(
const namespacet &ns,
const irep_idt &function_from,
locationt from,
const irep_idt &function_to,
locationt to,
reaching_definitions_analysist &rd)
{
Expand Down
2 changes: 0 additions & 2 deletions src/analyses/reaching_definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,11 @@ class rd_range_domaint:public ai_domain_baset
const irep_idt &function_from,
locationt from,
const irep_idt &function_to,
locationt to,
reaching_definitions_analysist &rd);
void transform_end_function(
const namespacet &ns,
const irep_idt &function_from,
locationt from,
const irep_idt &function_to,
locationt to,
reaching_definitions_analysist &rd);
void transform_assign(
Expand Down