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

* cse.c (n_elements_made, max_elements_made): Remove.
	(insert): Don't touch n_elements_made.
	(cse_main): Don't touch n_elements_made or max_elements_made.

From-SVN: r94407
This commit is contained in:
Kazu Hirata 2005-01-29 12:08:04 +00:00 committed by Kazu Hirata
parent 40d64b5a95
commit 26af0046ff
2 changed files with 7 additions and 20 deletions

View File

@ -1,3 +1,9 @@
2005-01-29 Kazu Hirata <kazu@cs.umass.edu>
* cse.c (n_elements_made, max_elements_made): Remove.
(insert): Don't touch n_elements_made.
(cse_main): Don't touch n_elements_made or max_elements_made.
2005-01-28 Stephane Carrez <stcarrez@nerim.fr>
PR target/15384

View File

@ -559,15 +559,6 @@ static struct table_elt *table[HASH_SIZE];
static struct table_elt *free_element_chain;
/* Number of `struct table_elt' structures made so far for this function. */
static int n_elements_made;
/* Maximum value `n_elements_made' has had so far in this compilation
for functions previously processed. */
static int max_elements_made;
/* Set to the cost of a constant pool reference if one was found for a
symbolic constant. If this was found, it means we should try to
convert constants into constant pool entries if they don't fit in
@ -1493,10 +1484,7 @@ insert (rtx x, struct table_elt *classp, unsigned int hash, enum machine_mode mo
if (elt)
free_element_chain = elt->next_same_hash;
else
{
n_elements_made++;
elt = xmalloc (sizeof (struct table_elt));
}
elt = xmalloc (sizeof (struct table_elt));
elt->exp = x;
elt->canon_exp = NULL_RTX;
@ -6725,10 +6713,6 @@ cse_main (rtx f, int nregs, FILE *file)
reg_eqv_table = xmalloc (nregs * sizeof (struct reg_eqv_elem));
/* Reset the counter indicating how many elements have been made
thus far. */
n_elements_made = 0;
/* Find the largest uid. */
max_uid = get_max_uid ();
@ -6813,9 +6797,6 @@ cse_main (rtx f, int nregs, FILE *file)
#endif
}
if (max_elements_made < n_elements_made)
max_elements_made = n_elements_made;
/* Clean up. */
end_alias_analysis ();
free (uid_cuid);