diff options
Diffstat (limited to 'gcc/config/mips/mips.c')
-rw-r--r-- | gcc/config/mips/mips.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 33f6047e166..a699238ba1c 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -1217,7 +1217,7 @@ mflip_mips16_use_mips16_p (tree decl) if (!entry) { mips16_flipper = !mips16_flipper; - entry = GGC_NEW (struct mflip_mips16_entry); + entry = ggc_alloc_mflip_mips16_entry (); entry->name = name; entry->mips16_p = mips16_flipper ? !mips_base_mips16 : mips_base_mips16; *slot = entry; @@ -5851,7 +5851,7 @@ mips16_local_alias (rtx func) SYMBOL_REF_FLAGS (local) = SYMBOL_REF_FLAGS (func) | SYMBOL_FLAG_LOCAL; /* Create a new structure to represent the mapping. */ - alias = GGC_NEW (struct mips16_local_alias); + alias = ggc_alloc_mips16_local_alias (); alias->func = func; alias->local = local; *slot = alias; @@ -15221,8 +15221,7 @@ mips_set_current_function (tree fndecl) static struct machine_function * mips_init_machine_status (void) { - return ((struct machine_function *) - ggc_alloc_cleared (sizeof (struct machine_function))); + return ggc_alloc_cleared_machine_function (); } /* Return the processor associated with the given ISA level, or null |