summaryrefslogtreecommitdiff
path: root/gcc/ggc-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ggc-common.c')
-rw-r--r--gcc/ggc-common.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c
index 77614ff8b5b..9c7b46d2b8b 100644
--- a/gcc/ggc-common.c
+++ b/gcc/ggc-common.c
@@ -30,6 +30,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "hashtab.h"
#include "varray.h"
#include "ggc.h"
+#include "langhooks.h"
/* Statistics about the allocation. */
static ggc_statistics *ggc_stats;
@@ -436,7 +437,7 @@ ggc_mark_trees ()
break;
case IDENTIFIER_NODE:
- lang_mark_tree (t);
+ (*lang_hooks.mark_tree) (t);
continue;
default:
@@ -470,7 +471,7 @@ ggc_mark_trees ()
if (DECL_SAVED_INSNS (t))
ggc_mark_struct_function (DECL_SAVED_INSNS (t));
}
- lang_mark_tree (t);
+ (*lang_hooks.mark_tree) (t);
break;
case 't': /* A type node. */
@@ -487,7 +488,7 @@ ggc_mark_trees ()
ggc_mark_tree (TYPE_MAIN_VARIANT (t));
ggc_mark_tree (TYPE_BINFO (t));
ggc_mark_tree (TYPE_CONTEXT (t));
- lang_mark_tree (t);
+ (*lang_hooks.mark_tree) (t);
break;
case 'b': /* A lexical block. */
@@ -518,7 +519,7 @@ ggc_mark_trees ()
}
case 'x':
- lang_mark_tree (t);
+ (*lang_hooks.mark_tree) (t);
break;
}
}