summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-live.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-29 17:53:48 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-29 17:53:48 +0000
commite0ebfc19aff2d83bda5cc2894bf6e415293192c9 (patch)
treeda2fe01010d192699501790da6990b71dcc5f540 /gcc/tree-ssa-live.c
parent7ffd2a62c14bc3c902bc9989d7505088caa78ebd (diff)
downloadgcc-e0ebfc19aff2d83bda5cc2894bf6e415293192c9.tar.gz
* tree-if-conv.c (replace_phi_with_cond_modify_expr): Use
EDGE_PRED instead of PHI_ARG_EDGE. * tree-ssa-live.c: Likewise. * tree-ssa-loop-manip.c: Likewise. * tree-ssa.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91473 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-live.c')
-rw-r--r--gcc/tree-ssa-live.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-live.c b/gcc/tree-ssa-live.c
index 554a0397a32..15c8b482082 100644
--- a/gcc/tree-ssa-live.c
+++ b/gcc/tree-ssa-live.c
@@ -589,7 +589,7 @@ calculate_live_on_entry (var_map map)
if (!phi_ssa_name_p (var))
continue;
stmt = SSA_NAME_DEF_STMT (var);
- e = PHI_ARG_EDGE (phi, i);
+ e = EDGE_PRED (bb, i);
/* Any uses in PHIs which either don't have def's or are not
defined in the block from which the def comes, will be live