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 d166a9a..cb4d805 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -329,7 +329,7 @@ init_eh (void) void init_eh_for_function (void) { - cfun->eh = GGC_CNEW (struct eh_status); + cfun->eh = ggc_alloc_cleared_eh_status (); /* Make sure zero'th entries are used. */ VEC_safe_push (eh_region, gc, cfun->eh->region_array, NULL); @@ -350,7 +350,7 @@ gen_eh_region (enum eh_region_type type, eh_region outer) #endif /* Insert a new blank region as a leaf in the tree. */ - new_eh = GGC_CNEW (struct eh_region_d); + new_eh = ggc_alloc_cleared_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_CNEW (struct eh_catch_d); + c = ggc_alloc_cleared_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_CNEW (struct eh_landing_pad_d); + eh_landing_pad lp = ggc_alloc_cleared_eh_landing_pad_d (); lp->next_lp = region->landing_pads; lp->region = region; @@ -2368,7 +2368,7 @@ add_call_site (rtx landing_pad, int action, int section) { call_site_record record; - record = GGC_NEW (struct call_site_record_d); + record = ggc_alloc_call_site_record_d (); record->landing_pad = landing_pad; record->action = action; |