From 77ae8b0f8f27f3337b5c96ae039fa46f08aba19c Mon Sep 17 00:00:00 2001 From: kazu Date: Mon, 24 Jan 2005 20:47:43 +0000 Subject: * tree-flow-inline.h (phi_arg_from_edge): Remove. * tree-flow.h: Remove the corresponding prototype. * tree-ssa-operands.h, tree-ssa-threadupdate.c, tree-ssa.c, tree-vectorizer.c: Use dest_idx instead of phi_arg_from_edge. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94183 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/tree-ssa-operands.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gcc/tree-ssa-operands.h') diff --git a/gcc/tree-ssa-operands.h b/gcc/tree-ssa-operands.h index c5e6220a20c..aa369430ca9 100644 --- a/gcc/tree-ssa-operands.h +++ b/gcc/tree-ssa-operands.h @@ -175,11 +175,9 @@ typedef stmt_operands_t *stmt_operands_p; #define SET_PHI_ARG_DEF(PHI, I, V) \ SET_USE (PHI_ARG_DEF_PTR ((PHI), (I)), (V)) #define PHI_ARG_DEF_FROM_EDGE(PHI, E) \ - PHI_ARG_DEF ((PHI), \ - phi_arg_from_edge ((PHI),(E))) + PHI_ARG_DEF ((PHI), (E)->dest_idx) #define PHI_ARG_DEF_PTR_FROM_EDGE(PHI, E) \ - PHI_ARG_DEF_PTR ((PHI), \ - phi_arg_from_edge ((PHI),(E))) + PHI_ARG_DEF_PTR ((PHI), (E)->dest_idx) extern void init_ssa_operands (void); -- cgit v1.2.1