diff options
Diffstat (limited to 'gcc/java/decl.c')
-rw-r--r-- | gcc/java/decl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c index 53d6f89..841fb4c 100644 --- a/gcc/java/decl.c +++ b/gcc/java/decl.c @@ -1307,7 +1307,7 @@ static struct binding_level * make_binding_level (void) { /* NOSTRICT */ - return ggc_alloc_cleared_binding_level (); + return ggc_cleared_alloc<binding_level> (); } void @@ -1646,7 +1646,7 @@ java_dup_lang_specific_decl (tree node) return; lang_decl_size = sizeof (struct lang_decl); - x = ggc_alloc_lang_decl (lang_decl_size); + x = ggc_alloc<struct lang_decl> (); memcpy (x, DECL_LANG_SPECIFIC (node), lang_decl_size); DECL_LANG_SPECIFIC (node) = x; } |