* basic-block.h: Adjust the prototype for find_basic_blocks.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Feb 2005 07:18:23 +0000 (07:18 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Feb 2005 07:18:23 +0000 (07:18 +0000)
* cfgbuild.c (find_basic_blocks): Remove unused arguments.
* passes.c (rest_of_handle_loop_optimize): Adjust the call to
find_basic_blocks.

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

gcc/ChangeLog
gcc/basic-block.h
gcc/cfgbuild.c
gcc/passes.c

index 740a388..49b374f 100644 (file)
@@ -1,3 +1,10 @@
+2005-02-14  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * basic-block.h: Adjust the prototype for find_basic_blocks.
+       * cfgbuild.c (find_basic_blocks): Remove unused arguments.
+       * passes.c (rest_of_handle_loop_optimize): Adjust the call to
+       find_basic_blocks.
+
 2005-02-14  Daniel Berlin  <dberlin@dberlin.org>
        
        * tree-dump.c (dump_files): Update to reflect new member
index 47cd99d..3382cd7 100644 (file)
@@ -779,7 +779,7 @@ extern void alloc_aux_for_edge (edge, int);
 extern void alloc_aux_for_edges (int);
 extern void clear_aux_for_edges (void);
 extern void free_aux_for_edges (void);
-extern void find_basic_blocks (rtx, int, FILE *);
+extern void find_basic_blocks (rtx);
 extern bool cleanup_cfg (int);
 extern bool delete_unreachable_blocks (void);
 extern bool merge_seq_blocks (void);
index 7f3e72b..ac8a941 100644 (file)
@@ -482,12 +482,10 @@ find_basic_blocks_1 (rtx f)
 
 
 /* Find basic blocks of the current function.
-   F is the first insn of the function and NREGS the number of register
-   numbers in use.  */
+   F is the first insn of the function.  */
 
 void
-find_basic_blocks (rtx f, int nregs ATTRIBUTE_UNUSED,
-                  FILE *file ATTRIBUTE_UNUSED)
+find_basic_blocks (rtx f)
 {
   basic_block bb;
 
index c0c655b..23a026e 100644 (file)
@@ -1105,7 +1105,7 @@ rest_of_handle_loop_optimize (void)
 
   /* Loop can create trivially dead instructions.  */
   delete_trivially_dead_insns (get_insns (), max_reg_num ());
-  find_basic_blocks (get_insns (), max_reg_num (), dump_file);
+  find_basic_blocks (get_insns ());
   close_dump_file (DFI_loop, print_rtl, get_insns ());
   timevar_pop (TV_LOOP);