From 82338042c07755238fa608567247e53fd844ec91 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Fri, 22 Oct 2004 18:50:34 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/tree-gimple.c | 10 ---------- gcc/tree-gimple.h | 3 --- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index af043d073d8..0dfab351709 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-10-22 Kazu Hirata + + * tree-gimple.c (is_gimple_constructor_elt): Remove. + * tree-gimple.h: Remove the corresponding prototype. + 2004-10-22 Kazu Hirata * varasm.c (get_pool_mode_for_function, get_pool_offset): diff --git a/gcc/tree-gimple.c b/gcc/tree-gimple.c index b2a2ad9a2bd..84005aad409 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 b3fb9c69c91..0f05d6a7f55 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); -- 2.30.2