Commit d0754bc6 by Kazu Hirata Committed by Kazu Hirata

cse.c (max_reg, [...]): Remove.

	* cse.c (max_reg, max_insn_uid): Remove.
	(cse_main): Don't access max_reg or max_insn_uid.

From-SVN: r94119
parent 2d304c90
2005-01-23 Kazu Hirata <kazu@cs.umass.edu>
* cse.c (max_reg, max_insn_uid): Remove.
(cse_main): Don't access max_reg or max_insn_uid.
2005-01-23 Roger Sayle <roger@eyesopen.com> 2005-01-23 Roger Sayle <roger@eyesopen.com>
Eric Botcazou <ebotcazou@libertysurf.fr> Eric Botcazou <ebotcazou@libertysurf.fr>
......
...@@ -202,15 +202,6 @@ Related expressions: ...@@ -202,15 +202,6 @@ Related expressions:
so that it is possible to find out if there exists any so that it is possible to find out if there exists any
register equivalent to an expression related to a given expression. */ register equivalent to an expression related to a given expression. */
/* One plus largest register number used in this function. */
static int max_reg;
/* One plus largest instruction UID used in this function at time of
cse_main call. */
static int max_insn_uid;
/* Length of qty_table vector. We know in advance we will not need /* Length of qty_table vector. We know in advance we will not need
a quantity number this big. */ a quantity number this big. */
...@@ -6726,10 +6717,6 @@ cse_main (rtx f, int nregs, FILE *file) ...@@ -6726,10 +6717,6 @@ cse_main (rtx f, int nregs, FILE *file)
init_recog (); init_recog ();
init_alias_analysis (); init_alias_analysis ();
max_reg = nregs;
max_insn_uid = get_max_uid ();
reg_eqv_table = xmalloc (nregs * sizeof (struct reg_eqv_elem)); reg_eqv_table = xmalloc (nregs * sizeof (struct reg_eqv_elem));
/* Reset the counter indicating how many elements have been made /* Reset the counter indicating how many elements have been made
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment