diff options
Diffstat (limited to 'gcc/except.c')
-rw-r--r-- | gcc/except.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/except.c b/gcc/except.c index dff0ade..49ebaae 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -333,7 +333,7 @@ init_eh (void) void init_eh_for_function (void) { - cfun->eh = ggc_alloc_cleared_eh_status (); + cfun->eh = ggc_cleared_alloc<eh_status> (); /* Make sure zero'th entries are used. */ vec_safe_push (cfun->eh->region_array, (eh_region)0); @@ -350,7 +350,7 @@ gen_eh_region (enum eh_region_type type, eh_region outer) eh_region new_eh; /* Insert a new blank region as a leaf in the tree. */ - new_eh = ggc_alloc_cleared_eh_region_d (); + new_eh = ggc_cleared_alloc<eh_region_d> (); new_eh->type = type; new_eh->outer = outer; if (outer) @@ -407,7 +407,7 @@ gen_eh_region_catch (eh_region t, tree type_or_list) add_type_for_runtime (TREE_VALUE (type_node)); } - c = ggc_alloc_cleared_eh_catch_d (); + c = ggc_cleared_alloc<eh_catch_d> (); c->type_list = type_list; l = t->u.eh_try.last_catch; c->prev_catch = l; @@ -441,7 +441,7 @@ gen_eh_region_must_not_throw (eh_region outer) eh_landing_pad gen_eh_landing_pad (eh_region region) { - eh_landing_pad lp = ggc_alloc_cleared_eh_landing_pad_d (); + eh_landing_pad lp = ggc_cleared_alloc<eh_landing_pad_d> (); lp->next_lp = region->landing_pads; lp->region = region; @@ -2450,7 +2450,7 @@ add_call_site (rtx landing_pad, int action, int section) { call_site_record record; - record = ggc_alloc_call_site_record_d (); + record = ggc_alloc<call_site_record_d> (); record->landing_pad = landing_pad; record->action = action; |