diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-02-15 07:18:23 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-02-15 07:18:23 +0000 |
commit | 2e09ee33f0420c4e4f063c8dff27afa017c0b687 (patch) | |
tree | cbb3702f34d555dc1c662f48376f4c07265e72fa | |
parent | 6434513e2cbce5145713bb9e39c95c59eda2fe92 (diff) | |
download | gcc-2e09ee33f0420c4e4f063c8dff27afa017c0b687.zip gcc-2e09ee33f0420c4e4f063c8dff27afa017c0b687.tar.gz gcc-2e09ee33f0420c4e4f063c8dff27afa017c0b687.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/basic-block.h | 2 | ||||
-rw-r--r-- | gcc/cfgbuild.c | 6 | ||||
-rw-r--r-- | gcc/passes.c | 2 |
4 files changed, 11 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 740a388..49b374f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/basic-block.h b/gcc/basic-block.h index 47cd99d..3382cd7 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -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); diff --git a/gcc/cfgbuild.c b/gcc/cfgbuild.c index 7f3e72b..ac8a941 100644 --- a/gcc/cfgbuild.c +++ b/gcc/cfgbuild.c @@ -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; diff --git a/gcc/passes.c b/gcc/passes.c index c0c655b..23a026e 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -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); |