flow.c (find_basic_blocks): Delte "live_reachable_p" argument.

* flow.c (find_basic_blocks): Delte "live_reachable_p" argument.
        (find_basic_blocks_1): Similarly.
        * output.h (find_basic_blocks): Fix prototype.
        * gcse.c, toplev.c: Don't pass "live_reachable_p" argument to
        find_basic_blocks anymore.

From-SVN: r22979
This commit is contained in:
Jeffrey A Law 1998-10-10 23:18:32 +00:00 committed by Jeff Law
parent a86d864c41
commit 9265dacf25
5 changed files with 14 additions and 8 deletions

View File

@ -1,3 +1,11 @@
Sun Oct 11 00:15:29 1998 Jeffrey A Law (law@cygnus.com)
* flow.c (find_basic_blocks): Delte "live_reachable_p" argument.
(find_basic_blocks_1): Similarly.
* output.h (find_basic_blocks): Fix prototype.
* gcse.c, toplev.c: Don't pass "live_reachable_p" argument to
find_basic_blocks anymore.
Sat Oct 10 22:00:34 1998 Richard Henderson <rth@cygnus.com>
* basic-block.h (EXECUTE_IF_SET_IN_SBITMAP): New macro.

View File

@ -298,11 +298,10 @@ static void count_reg_references PROTO ((rtx));
information to be inaccurate and not suitable for passes like GCSE. */
void
find_basic_blocks (f, nregs, file, live_reachable_p)
find_basic_blocks (f, nregs, file)
rtx f;
int nregs;
FILE *file;
int live_reachable_p;
{
register rtx insn;
register int i;
@ -402,7 +401,7 @@ find_basic_blocks (f, nregs, file, live_reachable_p)
uid_volatile = (char *) xmalloc (max_uid_for_flow + 1);
bzero (uid_volatile, max_uid_for_flow + 1);
find_basic_blocks_1 (f, nonlocal_label_list, live_reachable_p);
find_basic_blocks_1 (f, nonlocal_label_list);
}
/* For communication between find_basic_blocks_1 and its subroutines. */
@ -436,9 +435,8 @@ static rtx nonlocal_label_list;
information to be inaccurate and not suitable for passes like GCSE. */
static void
find_basic_blocks_1 (f, nonlocal_labels, live_reachable_p)
find_basic_blocks_1 (f, nonlocal_labels)
rtx f, nonlocal_labels;
int live_reachable_p;
{
register rtx insn;
register int i;

View File

@ -669,7 +669,7 @@ gcse_main (f, file)
debug_stderr = stderr;
max_gcse_regno = max_reg_num ();
find_basic_blocks (f, max_gcse_regno, file, 0);
find_basic_blocks (f, max_gcse_regno, file);
/* Return if there's nothing to do. */
if (n_basic_blocks <= 1)

View File

@ -128,7 +128,7 @@ extern void allocate_for_life_analysis PROTO((void));
extern int regno_uninitialized PROTO((int));
extern int regno_clobbered_at_setjmp PROTO((int));
extern void dump_flow_info PROTO((FILE *));
extern void find_basic_blocks PROTO((rtx, int, FILE *, int));
extern void find_basic_blocks PROTO((rtx, int, FILE *));
extern void free_basic_block_vars PROTO((int));
extern void set_block_num PROTO((rtx, int));
extern void life_analysis PROTO((rtx, int, FILE *));

View File

@ -3649,7 +3649,7 @@ rest_of_compilation (decl)
TIMEVAR
(flow_time,
{
find_basic_blocks (insns, max_reg_num (), rtl_dump_file, 1);
find_basic_blocks (insns, max_reg_num (), rtl_dump_file);
life_analysis (insns, max_reg_num (), rtl_dump_file);
});