From e0ebfc19aff2d83bda5cc2894bf6e415293192c9 Mon Sep 17 00:00:00 2001 From: kazu Date: Mon, 29 Nov 2004 17:53:48 +0000 Subject: * 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 --- gcc/tree-if-conv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/tree-if-conv.c') diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c index 0eee6d9acaf..36e9c758b53 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); -- cgit v1.2.3