flow.c (allocate_bb_life_data): Make it static.
authorKazu Hirata <kazu@cs.umass.edu>
Mon, 8 Nov 2004 19:05:12 +0000 (19:05 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Mon, 8 Nov 2004 19:05:12 +0000 (19:05 +0000)
* flow.c (allocate_bb_life_data): Make it static.
* basic-block.h: Remove the corresponding prototype.

From-SVN: r90282

gcc/ChangeLog
gcc/basic-block.h
gcc/flow.c

index 748e16b8c0049c0313c5914691f2a655bb076735..06b030dacc3983f17e8186a4c0f5fccb0ba55614 100644 (file)
@@ -1,3 +1,8 @@
+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
index 4775956b28875ade0b79b40930d6d5f638bf3193..daa4b33fc2296a3214ad55e8cc126509b0f2995e 100644 (file)
@@ -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);
index de467718594765709bfbc56f4aad7216b4b73731..86587cc2edd24bef043c552e0043c29826e09ace 100644 (file)
@@ -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);
 \f
 /* 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;