aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-live.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-29 17:53:48 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-29 17:53:48 +0000
commit62112e35c6368eeb4fe5192d9240958e4c477287 (patch)
treeda2fe01010d192699501790da6990b71dcc5f540 /gcc/tree-ssa-live.c
parent67bbb1e12241eba7dca619c2984d6abb08214137 (diff)
downloadgcc-62112e35c6368eeb4fe5192d9240958e4c477287.zip
gcc-62112e35c6368eeb4fe5192d9240958e4c477287.tar.gz
gcc-62112e35c6368eeb4fe5192d9240958e4c477287.tar.bz2
tree-if-conv.c (replace_phi_with_cond_modify_expr): Use EDGE_PRED instead of PHI_ARG_EDGE.
* 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. From-SVN: r91473
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 554a039..15c8b48 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