flow.c (recompute_reg_usage): Remove all arguments.
authorKazu Hirata <kazu@cs.umass.edu>
Tue, 15 Feb 2005 07:19:51 +0000 (07:19 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 15 Feb 2005 07:19:51 +0000 (07:19 +0000)
* flow.c (recompute_reg_usage): Remove all arguments.
* passes.c (rest_of_compilation): Adjust the call to
recompute_reg_usage.
* rtl.h: Adjust the prototype for recompute_reg_usage.

From-SVN: r95058

gcc/ChangeLog
gcc/flow.c
gcc/passes.c
gcc/rtl.h

index 49b374f8df32e7ccedeb508d00463818b98dd773..dfc44b867150e0fa686c65dab3e30297ec66e2a9 100644 (file)
@@ -5,6 +5,11 @@
        * passes.c (rest_of_handle_loop_optimize): Adjust the call to
        find_basic_blocks.
 
+       * flow.c (recompute_reg_usage): Remove all arguments.
+       * passes.c (rest_of_compilation): Adjust the call to
+       recompute_reg_usage.
+       * rtl.h: Adjust the prototype for recompute_reg_usage.
+
 2005-02-14  Daniel Berlin  <dberlin@dberlin.org>
        
        * tree-dump.c (dump_files): Update to reflect new member
index 1ab2a94567f8d330ff5264d06579f391b7f905a1..f356a6ee396ba713f28d4e51e3369d958713d02d 100644 (file)
@@ -4205,17 +4205,11 @@ debug_regset (regset r)
    register allocators to prioritize pseudos for allocation to hard regs.
    More accurate reference counts generally lead to better register allocation.
 
-   F is the first insn to be scanned.
-
-   LOOP_STEP denotes how much loop_depth should be incremented per
-   loop nesting level in order to increase the ref count more for
-   references in a loop.
-
    It might be worthwhile to update REG_LIVE_LENGTH, REG_BASIC_BLOCK and
    possibly other information which is used by the register allocators.  */
 
 void
-recompute_reg_usage (rtx f ATTRIBUTE_UNUSED, int loop_step ATTRIBUTE_UNUSED)
+recompute_reg_usage (void)
 {
   allocate_reg_life_data ();
   /* distribute_notes in combiner fails to convert some of the REG_UNUSED notes
index 23a026e46b57e26d552b18212c6d875de58a5c89..ccf804ccd2d2f0d4947ad388baf86b39fd3f5e22 100644 (file)
@@ -1639,7 +1639,7 @@ rest_of_compilation (void)
   /* Any of the several passes since flow1 will have munged register
      lifetime data a bit.  We need it to be up to date for scheduling
      (see handling of reg_known_equiv in init_alias_analysis).  */
-  recompute_reg_usage (get_insns (), !optimize_size);
+  recompute_reg_usage ();
 
 #ifdef INSN_SCHEDULING
   if (optimize > 0 && flag_modulo_sched)
index 7e010293cd03dc757e7011118eb9f4f7a4b5c61a..b0d839a533711e6429a483eb02e845598d99acdb 100644 (file)
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2019,7 +2019,7 @@ extern rtx move_by_pieces (rtx, rtx, unsigned HOST_WIDE_INT,
                           unsigned int, int);
 
 /* In flow.c */
-extern void recompute_reg_usage (rtx, int);
+extern void recompute_reg_usage (void);
 extern int initialize_uninitialized_subregs (void);
 extern void delete_dead_jumptables (void);
 extern void print_rtl_with_bb (FILE *, rtx);