summaryrefslogtreecommitdiff
path: root/gcc/cfgrtl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r--gcc/cfgrtl.c20
1 files changed, 9 insertions, 11 deletions
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 (&reg_obstack);
- new_bb->global_live_at_end = OBSTACK_ALLOC_REG_SET (&reg_obstack);
+ new_bb->global_live_at_start = ALLOC_REG_SET (&reg_obstack);
+ new_bb->global_live_at_end = ALLOC_REG_SET (&reg_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 (&reg_obstack);
- jump_block->global_live_at_end
- = OBSTACK_ALLOC_REG_SET (&reg_obstack);
+ jump_block->global_live_at_start = ALLOC_REG_SET (&reg_obstack);
+ jump_block->global_live_at_end = ALLOC_REG_SET (&reg_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 (&reg_obstack);
- bb->global_live_at_end = OBSTACK_ALLOC_REG_SET (&reg_obstack);
+ bb->global_live_at_start = ALLOC_REG_SET (&reg_obstack);
+ bb->global_live_at_end = ALLOC_REG_SET (&reg_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 (&reg_obstack);
+ killed = ALLOC_REG_SET (&reg_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 (&reg_obstack);
- new_bb->global_live_at_end = OBSTACK_ALLOC_REG_SET (&reg_obstack);
+ new_bb->global_live_at_start = ALLOC_REG_SET (&reg_obstack);
+ new_bb->global_live_at_end = ALLOC_REG_SET (&reg_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,