diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-09 03:26:58 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-09 03:26:58 +0000 |
commit | 431270ddecbe303a668318c366aa08831bb80641 (patch) | |
tree | aef3a44806551f0853941f5a4252c13e8beec1e8 /gcc/ggc.h | |
parent | a35129cfe87e528f0320e25847f251d11a0dba1e (diff) | |
download | gcc-431270ddecbe303a668318c366aa08831bb80641.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29222 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc.h')
-rw-r--r-- | gcc/ggc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ggc.h b/gcc/ggc.h index 785e25bf80f..b0673e0e05a 100644 --- a/gcc/ggc.h +++ b/gcc/ggc.h @@ -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. */ |