aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-08 19:05:12 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-08 19:05:12 +0000
commit6058028632c72f1c62ea6e526127a33e2236e2a4 (patch)
tree1eb8e87ef523b4daeab8da23c4c959c966c36329
parent2f2b4a02c7e73283f22625c2e0b6831c80789f83 (diff)
downloadgcc-6058028632c72f1c62ea6e526127a33e2236e2a4.zip
gcc-6058028632c72f1c62ea6e526127a33e2236e2a4.tar.gz
gcc-6058028632c72f1c62ea6e526127a33e2236e2a4.tar.bz2
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/basic-block.h1
-rw-r--r--gcc/flow.c5
3 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 748e16b..06b030d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
+ * flow.c (allocate_bb_life_data): Make it static.
+ * basic-block.h: Remove the corresponding prototype.
+
+2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
+
* calls.c (split_complex_values, split_complex_types): Make
them static.
* expr.h: Remove the corresponding prototypes.
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index 4775956..daa4b33 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 de46771..86587cc 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;