From ae85a37ae0290595cf4b6b5729877a8f080d4d7e Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 25 Nov 2004 09:30:04 +0000 Subject: * basic-block.h (OBSTACK_ALLOC_REG_SET): Rename to ... (ALLOC_REG_SET): ... here. (FREE_REG_SET): Adjust. (XMALLOC_REG_SET, XFREE_REG_SET): Remove. * bb-reorder.c (fix_crossing_conditional_branches): Adjust. * cfglayout.c (cfg_layout_duplicate_bb): Adjust. * cfgrtl.c (rtl_split_block, rtl_split_edge, safe_insert_insn_on_edge, cfg_layout_split_edge): Adjust. * flow.c (update_life_info, calculate_global_regs_live, allocate_bb_life_data, init_propagate_block_info): Adjust. * global.c (build_insn_chain): Adjust. * ifcvt.c (dead_or_predicable): Adjust. * loop-iv.c (simplify_using_initial_values): Adjust. * recog.c (peephole2_optimize): Adjust. * sched-deps.c (init_deps_global): Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91279 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cfgrtl.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'gcc/cfgrtl.c') diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index 3c2dc96aacb..4e0fc4cb8fc 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -484,8 +484,8 @@ rtl_split_block (basic_block bb, void *insnp) if (bb->global_live_at_start) { - new_bb->global_live_at_start = OBSTACK_ALLOC_REG_SET (®_obstack); - new_bb->global_live_at_end = OBSTACK_ALLOC_REG_SET (®_obstack); + new_bb->global_live_at_start = ALLOC_REG_SET (®_obstack); + new_bb->global_live_at_end = ALLOC_REG_SET (®_obstack); COPY_REG_SET (new_bb->global_live_at_end, bb->global_live_at_end); /* We now have to calculate which registers are live at the end @@ -1089,10 +1089,8 @@ force_nonfallthru_and_redirect (edge e, basic_block target) if (target->global_live_at_start) { - jump_block->global_live_at_start - = OBSTACK_ALLOC_REG_SET (®_obstack); - jump_block->global_live_at_end - = OBSTACK_ALLOC_REG_SET (®_obstack); + jump_block->global_live_at_start = ALLOC_REG_SET (®_obstack); + jump_block->global_live_at_end = ALLOC_REG_SET (®_obstack); COPY_REG_SET (jump_block->global_live_at_start, target->global_live_at_start); COPY_REG_SET (jump_block->global_live_at_end, @@ -1378,8 +1376,8 @@ rtl_split_edge (edge edge_in) /* ??? This info is likely going to be out of date very soon. */ if (edge_in->dest->global_live_at_start) { - bb->global_live_at_start = OBSTACK_ALLOC_REG_SET (®_obstack); - bb->global_live_at_end = OBSTACK_ALLOC_REG_SET (®_obstack); + bb->global_live_at_start = ALLOC_REG_SET (®_obstack); + bb->global_live_at_end = ALLOC_REG_SET (®_obstack); COPY_REG_SET (bb->global_live_at_start, edge_in->dest->global_live_at_start); COPY_REG_SET (bb->global_live_at_end, @@ -1467,7 +1465,7 @@ safe_insert_insn_on_edge (rtx insn, edge e) noccmode = false; #endif - killed = OBSTACK_ALLOC_REG_SET (®_obstack); + killed = ALLOC_REG_SET (®_obstack); for (x = insn; x; x = NEXT_INSN (x)) if (INSN_P (x)) @@ -2850,8 +2848,8 @@ cfg_layout_split_edge (edge e) create it to avoid getting an ICE later. */ if (e->dest->global_live_at_start) { - new_bb->global_live_at_start = OBSTACK_ALLOC_REG_SET (®_obstack); - new_bb->global_live_at_end = OBSTACK_ALLOC_REG_SET (®_obstack); + new_bb->global_live_at_start = ALLOC_REG_SET (®_obstack); + new_bb->global_live_at_end = ALLOC_REG_SET (®_obstack); COPY_REG_SET (new_bb->global_live_at_start, e->dest->global_live_at_start); COPY_REG_SET (new_bb->global_live_at_end, -- cgit v1.2.1