summaryrefslogtreecommitdiff
path: root/gcc/ssa-dce.c
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2002-06-10 22:33:08 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2002-06-10 22:33:08 +0000
commit852c6ec7ac379280e79ba706c60f2f1aad152f67 (patch)
tree18f7b1f7e2568d85e0ef50e3fa0206d1d430b5f2 /gcc/ssa-dce.c
parent60c86d4ee9e3256c02296b8953c5416decac0e1c (diff)
downloadgcc-852c6ec7ac379280e79ba706c60f2f1aad152f67.tar.gz
cfgrtl.c (create_basic_block_structure): Remove index argument and use last_basic_block++ instead.
2002-06-10 Roger Sayle <roger@eyesopen.com> Andreas Jaeger <aj@suse.de> * cfgrtl.c (create_basic_block_structure): Remove index argument and use last_basic_block++ instead. (create_basic_block): Update. * cfgbuild.c (find_basic_blocks_1): Likewise. * cfgrtl.c (compute_bb_for_insn): Remove unused "max" argument. * haifa-sched.c (sched_init): Update compute_bb_for_insn caller. * sched-ebb.c (schedule_ebbs): Likewise. * sched-rgn.c (schedule_insns): Likewise. * ssa-ccp.c (ssa_const_prop): Likewise. * ssa-dcs.c (ssa_eliminate_dead_code): Likewise. * toplev.c (rest_of_compilation): Likewise. * config/ia64/ia64.c (ia64_reorg): Likewise. Co-Authored-By: Andreas Jaeger <aj@suse.de> From-SVN: r54477
Diffstat (limited to 'gcc/ssa-dce.c')
-rw-r--r--gcc/ssa-dce.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/ssa-dce.c b/gcc/ssa-dce.c
index 4f89941fa85..db13b9ae7e8 100644
--- a/gcc/ssa-dce.c
+++ b/gcc/ssa-dce.c
@@ -500,8 +500,6 @@ ssa_eliminate_dead_code ()
int *pdom;
struct edge_list *el;
- int max_insn_uid = get_max_uid ();
-
/* Initialize the data structures. */
mark_all_insn_unnecessary ();
VARRAY_RTX_INIT (unprocessed_instructions, 64,
@@ -511,7 +509,7 @@ ssa_eliminate_dead_code ()
/* Prepare for use of BLOCK_NUM (). */
connect_infinite_loops_to_exit ();
/* Be careful not to clear the added edges. */
- compute_bb_for_insn (max_insn_uid);
+ compute_bb_for_insn ();
/* Compute control dependence. */
pdom = (int *) xmalloc (last_basic_block * sizeof (int));