Commit 2e09ee33 by Kazu Hirata Committed by Kazu Hirata

basic-block.h: Adjust the prototype for find_basic_blocks.

	* 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.

From-SVN: r95057
parent 6434513e
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
......
......@@ -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);
......
......@@ -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;
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment