* 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
+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
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);
/* 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;
/* 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);