From: Bernhard Reutner-Fischer Date: Sun, 7 Jun 2009 19:44:39 +0000 (+0200) Subject: tree-flow.h (make_value_handle, [...]): Remove prototypes for removed functions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b2ad028425653a0ac98a3e50999609c48e91288a;p=gcc.git tree-flow.h (make_value_handle, [...]): Remove prototypes for removed functions. 2009-06-07 Bernhard Reutner-Fischer * tree-flow.h (make_value_handle, set_value_handle, sort_vuses, sort_vuses_heap, vn_lookup_or_add, vn_lookup_or_add_with_stmt, vn_lookup_or_add_with_vuses, vn_add, vn_add_with_vuses, vn_lookup_with_stmt, vn_lookup, vn_lookup_with_vuses): Remove prototypes for removed functions. (expressions_equal_p): Move to ... * tree-ssa-sccvn.h: ... here and ... * matrix-reorg.c: ... adjust includes. From-SVN: r148261 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5dfc96f199b..9889424ca43 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,14 @@ +2009-06-07 Bernhard Reutner-Fischer + + * tree-flow.h (make_value_handle, set_value_handle, sort_vuses, + sort_vuses_heap, vn_lookup_or_add, vn_lookup_or_add_with_stmt, + vn_lookup_or_add_with_vuses, vn_add, vn_add_with_vuses, + vn_lookup_with_stmt, vn_lookup, vn_lookup_with_vuses): Remove + prototypes for removed functions. + (expressions_equal_p): Move to ... + * tree-ssa-sccvn.h: ... here and ... + * matrix-reorg.c: ... adjust includes. + 2009-06-07 Bernhard Reutner-Fischer * ipa-struct-reorg.c (do_reorg_1): Fix whitespace in dump output. diff --git a/gcc/matrix-reorg.c b/gcc/matrix-reorg.c index 7b8de0b8909..d2687b86e47 100644 --- a/gcc/matrix-reorg.c +++ b/gcc/matrix-reorg.c @@ -140,6 +140,7 @@ along with GCC; see the file COPYING3. If not see #include "tree-data-ref.h" #include "tree-chrec.h" #include "tree-scalar-evolution.h" +#include "tree-ssa-sccvn.h" /* We need to collect a lot of data from the original malloc, particularly as the gimplifier has converted: diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index 7585de5990a..1b654a088fd 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -861,22 +861,6 @@ void add_to_value (unsigned int, struct pre_expr_d *); void debug_value_expressions (unsigned int); void print_value_expressions (FILE *, unsigned int); - -/* In tree-vn.c */ -tree make_value_handle (tree); -void set_value_handle (tree, tree); -bool expressions_equal_p (tree, tree); -void sort_vuses (VEC (tree, gc) *); -void sort_vuses_heap (VEC (tree, heap) *); -tree vn_lookup_or_add (tree); -tree vn_lookup_or_add_with_stmt (tree, gimple); -tree vn_lookup_or_add_with_vuses (tree, VEC (tree, gc) *); -void vn_add (tree, tree); -void vn_add_with_vuses (tree, tree, VEC (tree, gc) *); -tree vn_lookup_with_stmt (tree, gimple); -tree vn_lookup (tree); -tree vn_lookup_with_vuses (tree, VEC (tree, gc) *); - /* In tree-ssa-sink.c */ bool is_hidden_global_store (gimple); diff --git a/gcc/tree-ssa-sccvn.h b/gcc/tree-ssa-sccvn.h index 706ea4e44b8..c60c28ac11a 100644 --- a/gcc/tree-ssa-sccvn.h +++ b/gcc/tree-ssa-sccvn.h @@ -21,6 +21,10 @@ #ifndef TREE_SSA_SCCVN_H #define TREE_SSA_SCCVN_H +/* In tree-ssa-sccvn.c */ +bool expressions_equal_p (tree, tree); + + /* TOP of the VN lattice. */ extern tree VN_TOP;