aboutsummaryrefslogtreecommitdiff
path: root/gcc/recog.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-10-18 15:20:27 -0700
committerRichard Henderson <rth@gcc.gnu.org>1999-10-18 15:20:27 -0700
commitc88e82068294b20f55b8d4ca6b302d5486f9881b (patch)
treead7060cd4617a41e224844edcb92fdc6b9b65814 /gcc/recog.c
parent87b5c7e5e4321f5c069e047836e1160e371365e8 (diff)
downloadgcc-c88e82068294b20f55b8d4ca6b302d5486f9881b.zip
gcc-c88e82068294b20f55b8d4ca6b302d5486f9881b.tar.gz
gcc-c88e82068294b20f55b8d4ca6b302d5486f9881b.tar.bz2
basic-block.h (set_block_num): Declare.
* basic-block.h (set_block_num): Declare. * flow.c (update_life_info): Don't call compute_bb_for_insn or free_basic_block_vars. * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0. (insn_orig_block): Remove. (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM. (schedule_block): Keep BLOCK_NUM up-to-date. (schedule_insns): Use compute_bb_for_insn. * recog.c (split_all_insns): Likewise. (peephole2_optimize): Likewise. From-SVN: r30073
Diffstat (limited to 'gcc/recog.c')
-rw-r--r--gcc/recog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/recog.c b/gcc/recog.c
index 3b50b83..157f0df 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -2659,6 +2659,7 @@ split_all_insns (upd_life)
if (changed && upd_life)
{
+ compute_bb_for_insn (get_max_uid ());
count_or_remove_death_notes (blocks, 1);
update_life_info (blocks, UPDATE_LIFE_LOCAL);
}
@@ -2759,6 +2760,7 @@ peephole2_optimize (dump_file)
free_resource_info ();
+ compute_bb_for_insn (get_max_uid ());
count_or_remove_death_notes (blocks, 1);
update_life_info (blocks, UPDATE_LIFE_LOCAL);
}