aboutsummaryrefslogtreecommitdiff
path: root/gcc/haifa-sched.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2000-03-05 22:35:27 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2000-03-05 22:35:27 +0000
commitee25a7a5f655464616cfb7faafb0d434f8174d92 (patch)
tree446e504da7f74a87b0b65d998b5b7fd43cb89914 /gcc/haifa-sched.c
parent008b7307cbdb0f150ff8f19aae2d39fc675e6bae (diff)
downloadgcc-ee25a7a5f655464616cfb7faafb0d434f8174d92.zip
gcc-ee25a7a5f655464616cfb7faafb0d434f8174d92.tar.gz
gcc-ee25a7a5f655464616cfb7faafb0d434f8174d92.tar.bz2
basic-block.h (ALLOCA_REG_SET): Remove.
* basic-block.h (ALLOCA_REG_SET): Remove. (INITIALIZE_REG_SET): New macro. * flow.c (update_life_info): Use it. (calculate_global_regs_live): Likewise. (propagate_block): Likewise. * global.c (build_insn_chain): Likewise. * haifa-sched.c (schedule_region): Likewise. From-SVN: r32350
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r--gcc/haifa-sched.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index 430abaf..eb6f121 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -6631,13 +6631,15 @@ schedule_region (rgn)
int bb;
int rgn_n_insns = 0;
int sched_rgn_n_insns = 0;
+ regset_head reg_pending_sets_head;
+ regset_head reg_pending_clobbers_head;
/* Set variables for the current region. */
current_nr_blocks = RGN_NR_BLOCKS (rgn);
current_blocks = RGN_BLOCKS (rgn);
- reg_pending_sets = ALLOCA_REG_SET ();
- reg_pending_clobbers = ALLOCA_REG_SET ();
+ reg_pending_sets = INITIALIZE_REG_SET (reg_pending_sets_head);
+ reg_pending_clobbers = INITIALIZE_REG_SET (reg_pending_clobbers_head);
reg_pending_sets_all = 0;
/* Initializations for region data dependence analyisis. */