summaryrefslogtreecommitdiff
path: root/gcc/varray.c
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-08 07:42:56 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-08 07:42:56 +0000
commita8146e4f049c4eed26bdfd10b766058771091535 (patch)
tree3ded9c6619acf17ba3cafe806dc45640f501fbaa /gcc/varray.c
parent301a5e52d13500f4b48ce5459d5419db59632bce (diff)
downloadgcc-a8146e4f049c4eed26bdfd10b766058771091535.tar.gz
* cgraph.h (cgraph_calls_p): Remove.
* cgraph.c (cgraph_calls_p): Likewise. * varray.h (varray_copy): Remove. * varray.c (varray_copy): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90261 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varray.c')
-rw-r--r--gcc/varray.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/gcc/varray.c b/gcc/varray.c
index c5c3a8ec420..ce3503b8bcd 100644
--- a/gcc/varray.c
+++ b/gcc/varray.c
@@ -218,25 +218,6 @@ varray_underflow (varray_type va, const char *file, int line,
#endif
-/* Copy varray V2 into varray V1. Both arrays must be the same size
- and type. */
-
-void
-varray_copy (varray_type v1, varray_type v2)
-{
- size_t data_size;
-
- if (v1->type != v2->type)
- abort ();
-
- if (v1->num_elements != v2->num_elements)
- abort ();
-
- data_size = element[v2->type].size * v2->num_elements;
- memcpy (v1->data.c, v2->data.c, data_size);
- v1->elements_used = v2->elements_used;
-}
-
/* Output per-varray statistics. */
#ifdef GATHER_STATISTICS