OSDN Git Service

* cse.c (max_reg, max_insn_uid): Remove.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Jan 2005 19:13:50 +0000 (19:13 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Jan 2005 19:13:50 +0000 (19:13 +0000)
(cse_main): Don't access max_reg or max_insn_uid.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94119 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cse.c

index 68bc949..889f69b 100644 (file)
@@ -1,3 +1,8 @@
+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>
            Eric Botcazou  <ebotcazou@libertysurf.fr>
 
index 9e3e496..98854c9 100644 (file)
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -202,15 +202,6 @@ Related expressions:
    so that it is possible to find out if there exists any
    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
    a quantity number this big.  */
 
@@ -6726,10 +6717,6 @@ cse_main (rtx f, int nregs, FILE *file)
   init_recog ();
   init_alias_analysis ();
 
-  max_reg = nregs;
-
-  max_insn_uid = get_max_uid ();
-
   reg_eqv_table = xmalloc (nregs * sizeof (struct reg_eqv_elem));
 
   /* Reset the counter indicating how many elements have been made