diff options
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r-- | gcc/tree-inline.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index ee4670c..51aa065 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -2225,7 +2225,7 @@ copy_bb (copy_body_data *id, basic_block bb, case CB_CGE_MOVE: edge = id->dst_node->get_edge (orig_stmt); if (edge) - edge->set_call_stmt (call_stmt); + edge = cgraph_edge::set_call_stmt (edge, call_stmt); break; default: @@ -2899,7 +2899,8 @@ redirect_all_calls (copy_body_data * id, basic_block bb) struct cgraph_edge *edge = id->dst_node->get_edge (stmt); if (edge) { - gimple *new_stmt = edge->redirect_call_stmt_to_callee (); + gimple *new_stmt + = cgraph_edge::redirect_call_stmt_to_callee (edge); /* If IPA-SRA transformation, run as part of edge redirection, removed the LHS because it is unused, save it to killed_new_ssa_names so that we can prune it from debug @@ -4750,7 +4751,7 @@ expand_call_inline (basic_block bb, gimple *stmt, copy_body_data *id, tree op; gimple_stmt_iterator iter = gsi_for_stmt (stmt); - cg_edge->remove (); + cgraph_edge::remove (cg_edge); edge = id->src_node->callees->clone (id->dst_node, call_stmt, gimple_uid (stmt), profile_count::one (), |