summaryrefslogtreecommitdiff
path: root/gcc/ggc-common.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-17 17:59:58 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-17 17:59:58 +0000
commit6d05ae3500d879cf95a2de67483a1370f6f0789f (patch)
treebb02d898b2f0daa316b346810048df64ac47b8b8 /gcc/ggc-common.c
parent7838ac59ebbe7bb9a61422f138a16d5083d59019 (diff)
downloadgcc-6d05ae3500d879cf95a2de67483a1370f6f0789f.tar.gz
* ggc-common.c (ggc_mark_roots): Use htab_traverse_noresize.
* hashtab.h (htab_traverse_noresize): Declare. * hashtab.c (htab_traverse_noresize): Break out from ... * hashtab.c (htab_traverse): ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64496 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc-common.c')
-rw-r--r--gcc/ggc-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c
index 8e12d56ee80..b1c3c61bb2c 100644
--- a/gcc/ggc-common.c
+++ b/gcc/ggc-common.c
@@ -113,7 +113,7 @@ ggc_mark_roots ()
if (*cti->base)
{
ggc_set_mark (*cti->base);
- htab_traverse (*cti->base, ggc_htab_delete, (PTR) cti);
+ htab_traverse_noresize (*cti->base, ggc_htab_delete, (PTR) cti);
ggc_set_mark ((*cti->base)->entries);
}
}