diff options
author | Richard Henderson <rth@cygnus.com> | 1999-10-20 07:04:12 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-10-20 07:04:12 -0700 |
commit | 49c3bb1275fbdde639e778beb5aa5f4c6361a52d (patch) | |
tree | 861e406256a60c2c63e3e1c6624c268ca1f60944 /gcc/recog.c | |
parent | 5b9188072e2e72aef010fdd9e9f4bf517cb49f6d (diff) | |
download | gcc-49c3bb1275fbdde639e778beb5aa5f4c6361a52d.zip gcc-49c3bb1275fbdde639e778beb5aa5f4c6361a52d.tar.gz gcc-49c3bb1275fbdde639e778beb5aa5f4c6361a52d.tar.bz2 |
basic-block.h (PROP_*): Move constants from ...
* basic-block.h (PROP_*): Move constants from ...
* flow.c: ... here.
(compute_bb_for_insn): Free the array before reallocating.
(update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
(allocate_reg_life_data): Reset all reg variables collected by
propagate_block.
(get_block_head_tail): Don't convert from bb to block.
(get_bb_head_tail): New. Update all callers of get_block_head_tail.
(find_insn_reg_weight): Take block not bb.
(schedule_block): Don't set block num for moved insns.
(schedule_region): Don't update_life_info or find_insn_reg_weight.
(schedule_insns): Do it here instead.
* combine.c (combine_instructions): Invoke compute_bb_for_insn
before update_life_info.
* recog.c (split_all_insns, peephole2_optimize): Update for
new arg to update_life_info.
* rtlanal.c (remove_note): Cope with NULL note.
* toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
if we did sched1.
From-SVN: r30103
Diffstat (limited to 'gcc/recog.c')
-rw-r--r-- | gcc/recog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/recog.c b/gcc/recog.c index 157f0df..91c8af0 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -2661,7 +2661,7 @@ split_all_insns (upd_life) { compute_bb_for_insn (get_max_uid ()); count_or_remove_death_notes (blocks, 1); - update_life_info (blocks, UPDATE_LIFE_LOCAL); + update_life_info (blocks, UPDATE_LIFE_LOCAL, PROP_DEATH_NOTES); } sbitmap_free (blocks); @@ -2762,6 +2762,6 @@ peephole2_optimize (dump_file) compute_bb_for_insn (get_max_uid ()); count_or_remove_death_notes (blocks, 1); - update_life_info (blocks, UPDATE_LIFE_LOCAL); + update_life_info (blocks, UPDATE_LIFE_LOCAL, PROP_DEATH_NOTES); } #endif |