From: Kazu Hirata Date: Mon, 8 Nov 2004 19:05:12 +0000 (+0000) Subject: flow.c (allocate_bb_life_data): Make it static. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6058028632c72f1c62ea6e526127a33e2236e2a4;p=gcc.git flow.c (allocate_bb_life_data): Make it static. * flow.c (allocate_bb_life_data): Make it static. * basic-block.h: Remove the corresponding prototype. From-SVN: r90282 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 748e16b8c00..06b030dacc3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-11-08 Kazu Hirata + + * flow.c (allocate_bb_life_data): Make it static. + * basic-block.h: Remove the corresponding prototype. + 2004-11-08 Kazu Hirata * calls.c (split_complex_values, split_complex_types): Make diff --git a/gcc/basic-block.h b/gcc/basic-block.h index 4775956b288..daa4b33fc22 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -745,7 +745,6 @@ extern basic_block debug_bb_n (int); extern void dump_regset (regset, FILE *); extern void debug_regset (regset); extern void allocate_reg_life_data (void); -extern void allocate_bb_life_data (void); extern void expunge_block (basic_block); extern void link_block (basic_block, basic_block); extern void unlink_block (basic_block); diff --git a/gcc/flow.c b/gcc/flow.c index de467718594..86587cc2edd 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -330,6 +330,7 @@ static int invalidate_mems_from_autoinc (rtx *, void *); static void invalidate_mems_from_set (struct propagate_block_info *, rtx); static void clear_log_links (sbitmap); static int count_or_remove_death_notes_bb (basic_block, int); +static void allocate_bb_life_data (void); /* Return the INSN immediately following the NOTE_INSN_BASIC_BLOCK note associated with the BLOCK. */ @@ -1402,9 +1403,9 @@ initialize_uninitialized_subregs (void) /* Subroutines of life analysis. */ /* Allocate the permanent data structures that represent the results - of life analysis. Not static since used also for stupid life analysis. */ + of life analysis. */ -void +static void allocate_bb_life_data (void) { basic_block bb;