aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-flow-inline.h
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-01-24 20:47:43 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-01-24 20:47:43 +0000
commit3a2f1f06651ace284325fa449acf5babffd91a3e (patch)
tree15c9cc34f3a169e8b5913e2a149242fb5c4879f2 /gcc/tree-flow-inline.h
parent2a4d06261820a8fa78728d40ea51ba4658b6d914 (diff)
downloadgcc-3a2f1f06651ace284325fa449acf5babffd91a3e.zip
gcc-3a2f1f06651ace284325fa449acf5babffd91a3e.tar.gz
gcc-3a2f1f06651ace284325fa449acf5babffd91a3e.tar.bz2
tree-flow-inline.h (phi_arg_from_edge): Remove.
* 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. From-SVN: r94183
Diffstat (limited to 'gcc/tree-flow-inline.h')
-rw-r--r--gcc/tree-flow-inline.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h
index b6bcb65..e2204d5 100644
--- a/gcc/tree-flow-inline.h
+++ b/gcc/tree-flow-inline.h
@@ -389,15 +389,6 @@ set_phi_nodes (basic_block bb, tree l)
set_bb_for_stmt (phi, bb);
}
-/* Return the phi index number for an edge. */
-static inline int
-phi_arg_from_edge (tree phi, edge e)
-{
- gcc_assert (phi);
- gcc_assert (TREE_CODE (phi) == PHI_NODE);
- return e->dest_idx;
-}
-
/* Mark VAR as used, so that it'll be preserved during rtl expansion. */
static inline void