diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-09 21:41:38 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-09 21:41:38 +0000 |
commit | ac97e5692f31853a870eac5e574394927009f719 (patch) | |
tree | 15ea4dfce4fc305fb556decff352c130246460ee /gcc/ggc-simple.c | |
parent | a6881cf34e63f36838e5ebe2ca70f9f1d23dbff0 (diff) | |
download | gcc-ac97e5692f31853a870eac5e574394927009f719.tar.gz |
* ggc.h (lang_cleanup_tree): Remove.
* gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
* ggc-callbacks.c (lang_cleanup_tree): Remove.
* c-decl.c (finish_struct): Use ggc_alloc to allocate
TYPE_LANG_SPECIFIC when garbage collecting.
(lang_cleanup_tree): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29242 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc-simple.c')
-rw-r--r-- | gcc/ggc-simple.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/ggc-simple.c b/gcc/ggc-simple.c index df5c0cde5e0..d6e13cbf6f4 100644 --- a/gcc/ggc-simple.c +++ b/gcc/ggc-simple.c @@ -385,14 +385,6 @@ static inline void ggc_free_tree (t) struct ggc_tree *t; { - switch (TREE_CODE_CLASS (TREE_CODE (&t->tree))) - { - case 'd': /* A decl node. */ - case 't': /* A type node. */ - lang_cleanup_tree (&t->tree); - break; - } - #ifdef GGC_DUMP fprintf (dump, "collect tree %p\n", &t->tree); #endif |