summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-coalesce.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-16 09:34:24 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-16 09:34:24 +0000
commitd860e1f980031b23f6ea1b9a3b44d8ca4420b185 (patch)
treef8f3a676f08510bce33991ec76f4760c9c9b62bc /gcc/tree-ssa-coalesce.c
parent019166512855799010454b15096185d9014a7234 (diff)
downloadgcc-d860e1f980031b23f6ea1b9a3b44d8ca4420b185.tar.gz
2007-02-16 Richard Guenther <rguenther@suse.de>
* tree-flow-inline.h (single_imm_use_p): Remove. (zero_imm_uses_p): Likewise. * tree-ssa-coalesce.c (create_outofssa_var_map): Use has_single_use instead of single_imm_use_p. * tree-cfg.c (replace_uses_by): Use has_zero_use instead of zero_imm_uses_p. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122036 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-coalesce.c')
-rw-r--r--gcc/tree-ssa-coalesce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-coalesce.c b/gcc/tree-ssa-coalesce.c
index 195dcf964ec..80586bd038c 100644
--- a/gcc/tree-ssa-coalesce.c
+++ b/gcc/tree-ssa-coalesce.c
@@ -976,7 +976,7 @@ create_outofssa_var_map (coalesce_list_p cl, bitmap used_in_copy)
if ((e->flags & EDGE_ABNORMAL) == 0)
{
int cost = coalesce_cost_edge (e);
- if (cost == 1 && single_imm_use_p (arg))
+ if (cost == 1 && has_single_use (arg))
add_cost_one_coalesce (cl, ver, SSA_NAME_VERSION (arg));
else
add_coalesce (cl, ver, SSA_NAME_VERSION (arg), cost);