aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-10-22 18:50:34 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-10-22 18:50:34 +0000
commit82338042c07755238fa608567247e53fd844ec91 (patch)
tree66f0de657def6d1acfb74d598657ce10e04cf2e0 /gcc
parent4fe8591b5242e7ce738f1a8cce4e77d81982a141 (diff)
downloadgcc-82338042c07755238fa608567247e53fd844ec91.zip
gcc-82338042c07755238fa608567247e53fd844ec91.tar.gz
gcc-82338042c07755238fa608567247e53fd844ec91.tar.bz2
tree-gimple.c (is_gimple_constructor_elt): Remove.
* tree-gimple.c (is_gimple_constructor_elt): Remove. * tree-gimple.h: Remove the corresponding prototype. From-SVN: r89466
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-gimple.c10
-rw-r--r--gcc/tree-gimple.h3
3 files changed, 5 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index af043d0..0dfab35 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2004-10-22 Kazu Hirata <kazu@cs.umass.edu>
+ * tree-gimple.c (is_gimple_constructor_elt): Remove.
+ * tree-gimple.h: Remove the corresponding prototype.
+
+2004-10-22 Kazu Hirata <kazu@cs.umass.edu>
+
* varasm.c (get_pool_mode_for_function, get_pool_offset):
Remove.
* rtl.h: Remove the corresponding prototypes.
diff --git a/gcc/tree-gimple.c b/gcc/tree-gimple.c
index b2a2ad9..84005aad 100644
--- a/gcc/tree-gimple.c
+++ b/gcc/tree-gimple.c
@@ -132,16 +132,6 @@ rhs_predicate_for (tree lhs)
return is_gimple_mem_rhs;
}
-/* Returns true if T is a valid CONSTRUCTOR component in GIMPLE, either
- a val or another CONSTRUCTOR. */
-
-bool
-is_gimple_constructor_elt (tree t)
-{
- return (is_gimple_val (t)
- || TREE_CODE (t) == CONSTRUCTOR);
-}
-
/* Return true if T is a valid LHS for a GIMPLE assignment expression. */
bool
diff --git a/gcc/tree-gimple.h b/gcc/tree-gimple.h
index b3fb9c6..0f05d6a 100644
--- a/gcc/tree-gimple.h
+++ b/gcc/tree-gimple.h
@@ -81,9 +81,6 @@ extern bool is_gimple_condexpr (tree);
/* Returns true iff T is a type conversion. */
extern bool is_gimple_cast (tree);
-/* Returns true iff T is a valid CONSTRUCTOR element (either an rvalue or
- another CONSTRUCTOR). */
-extern bool is_gimple_constructor_elt (tree);
/* Returns true iff T is a variable that does not need to live in memory. */
extern bool is_gimple_non_addressable (tree t);