diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-11-29 17:53:48 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-11-29 17:53:48 +0000 |
commit | 62112e35c6368eeb4fe5192d9240958e4c477287 (patch) | |
tree | da2fe01010d192699501790da6990b71dcc5f540 /gcc/tree-if-conv.c | |
parent | 67bbb1e12241eba7dca619c2984d6abb08214137 (diff) | |
download | gcc-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-if-conv.c')
-rw-r--r-- | gcc/tree-if-conv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c index 0eee6d9..36e9c75 100644 --- a/gcc/tree-if-conv.c +++ b/gcc/tree-if-conv.c @@ -757,7 +757,7 @@ replace_phi_with_cond_modify_expr (tree phi, tree cond, basic_block true_bb, arg_1 = NULL_TREE; /* Use condition that is not TRUTH_NOT_EXPR in conditional modify expr. */ - if (PHI_ARG_EDGE(phi, 1)->src == true_bb) + if (EDGE_PRED (bb, 1)->src == true_bb) { arg_0 = PHI_ARG_DEF (phi, 1); arg_1 = PHI_ARG_DEF (phi, 0); |