diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-09-09 03:26:58 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-09-09 03:26:58 +0000 |
commit | 37b31aefeb2848b5cd9133b2bf652ab91533c533 (patch) | |
tree | aef3a44806551f0853941f5a4252c13e8beec1e8 /gcc/ggc.h | |
parent | fc0e7bf5d137416b780ce3172ebde7a16870378d (diff) | |
download | gcc-37b31aefeb2848b5cd9133b2bf652ab91533c533.zip gcc-37b31aefeb2848b5cd9133b2bf652ab91533c533.tar.gz gcc-37b31aefeb2848b5cd9133b2bf652ab91533c533.tar.bz2 |
ggc.h (ggc_alloc): New function.
* ggc.h (ggc_alloc): New function.
(ggc_mark): Likewise.
* ggc-simple.c (ggc_any): New structure.
(ggc_status): Add anys.
(n_anys_collected): New variable.
(ggc_alloc): Define.
(ggc_mark): Likewise.
(ggc_collect): Collect the anys.
From-SVN: r29222
Diffstat (limited to 'gcc/ggc.h')
-rw-r--r-- | gcc/ggc.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -56,6 +56,7 @@ struct rtx_def *ggc_alloc_rtx PROTO ((int nslots)); struct rtvec_def *ggc_alloc_rtvec PROTO ((int nelt)); union tree_node *ggc_alloc_tree PROTO ((int length)); char *ggc_alloc_string PROTO ((const char *contents, int length)); +void *ggc_alloc PROTO ((size_t)); /* Invoke the collector. This is really just a hint, but in the case of the simple collector, the only time it will happen. */ @@ -78,6 +79,7 @@ void ggc_mark_tree PROTO ((union tree_node *)); void ggc_mark_tree_varray PROTO ((struct varray_head_tag *)); void ggc_mark_tree_hash_table PROTO ((struct hash_table *)); void ggc_mark_string PROTO ((char *)); +void ggc_mark PROTO ((void *)); /* Callbacks to the languages. */ |