diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-20 14:04:12 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-20 14:04:12 +0000 |
commit | def930986a1bcf6152e7a76483b87c2b2574f32b (patch) | |
tree | 861e406256a60c2c63e3e1c6624c268ca1f60944 /gcc/recog.c | |
parent | d3b95fd70872ea49c54e076cc0c11ab5f8683b40 (diff) | |
download | gcc-def930986a1bcf6152e7a76483b87c2b2574f32b.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30103 138bc75d-0d04-0410-961f-82ee72b054a4
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 157f0df34ef..91c8af0d94f 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 |