diff options
Diffstat (limited to 'gcc/value-prof.c')
-rw-r--r-- | gcc/value-prof.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/value-prof.c b/gcc/value-prof.c index 6044dd7..702871e 100644 --- a/gcc/value-prof.c +++ b/gcc/value-prof.c @@ -1276,10 +1276,10 @@ gimple_ic (gimple icall_stmt, struct cgraph_node *direct_call, tree result = gimple_call_lhs (icall_stmt); gimple phi = create_phi_node (result, join_bb); gimple_call_set_lhs (icall_stmt, - make_ssa_name (SSA_NAME_VAR (result), icall_stmt)); + duplicate_ssa_name (result, icall_stmt)); add_phi_arg (phi, gimple_call_lhs (icall_stmt), e_ij, UNKNOWN_LOCATION); gimple_call_set_lhs (dcall_stmt, - make_ssa_name (SSA_NAME_VAR (result), dcall_stmt)); + duplicate_ssa_name (result, dcall_stmt)); add_phi_arg (phi, gimple_call_lhs (dcall_stmt), e_dj, UNKNOWN_LOCATION); } @@ -1507,10 +1507,10 @@ gimple_stringop_fixed_value (gimple vcall_stmt, tree icall_size, int prob, tree result = gimple_call_lhs (vcall_stmt); gimple phi = create_phi_node (result, join_bb); gimple_call_set_lhs (vcall_stmt, - make_ssa_name (SSA_NAME_VAR (result), vcall_stmt)); + duplicate_ssa_name (result, vcall_stmt)); add_phi_arg (phi, gimple_call_lhs (vcall_stmt), e_vj, UNKNOWN_LOCATION); gimple_call_set_lhs (icall_stmt, - make_ssa_name (SSA_NAME_VAR (result), icall_stmt)); + duplicate_ssa_name (result, icall_stmt)); add_phi_arg (phi, gimple_call_lhs (icall_stmt), e_ij, UNKNOWN_LOCATION); } |