diff options
author | Duncan Sands <baldrick@free.fr> | 2009-09-28 10:50:39 +0200 |
---|---|---|
committer | Duncan Sands <baldrick@gcc.gnu.org> | 2009-09-28 08:50:39 +0000 |
commit | 32c9b4e92473a94323f4198c4fc2a34f6052f30e (patch) | |
tree | 194a436e90764acef2d9ddd4041e1b96fecade5a /gcc/ggc.h | |
parent | bd77e02dac3326a073283468832c6e5bb66291bf (diff) | |
download | gcc-32c9b4e92473a94323f4198c4fc2a34f6052f30e.zip gcc-32c9b4e92473a94323f4198c4fc2a34f6052f30e.tar.gz gcc-32c9b4e92473a94323f4198c4fc2a34f6052f30e.tar.bz2 |
Add support for using ggc cache tables from plugins.
Approved by Ian Lance Taylor.
From-SVN: r152232
Diffstat (limited to 'gcc/ggc.h')
-rw-r--r-- | gcc/ggc.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -272,9 +272,13 @@ extern const char *ggc_alloc_string (const char *contents, int length); extern void ggc_collect (void); /* Register an additional root table. This can be useful for some - plugins. Does nothing if the passed pointer is null. */ + plugins. Does nothing if the passed pointer is NULL. */ extern void ggc_register_root_tab (const struct ggc_root_tab *); +/* Register an additional cache table. This can be useful for some + plugins. Does nothing if the passed pointer is NULL. */ +extern void ggc_register_cache_tab (const struct ggc_cache_tab *); + /* Return the number of bytes allocated at the indicated address. */ extern size_t ggc_get_size (const void *); |