bb-reorder.c (partition_hot_cold_basic_blocks): Make it static.
authorKazu Hirata <kazu@codesourcery.com>
Mon, 16 Jan 2006 19:15:22 +0000 (19:15 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Mon, 16 Jan 2006 19:15:22 +0000 (19:15 +0000)
* bb-reorder.c (partition_hot_cold_basic_blocks): Make it
static.
* basic-block.h: Remove the prototype for
partition_hot_cold_basic_blocks.

From-SVN: r109762

gcc/ChangeLog
gcc/basic-block.h
gcc/bb-reorder.c

index d1ce375..a5048a1 100644 (file)
@@ -1,3 +1,10 @@
+2006-01-16  Kazu Hirata  <kazu@codesourcery.com>
+
+       * bb-reorder.c (partition_hot_cold_basic_blocks): Make it
+       static.
+       * basic-block.h: Remove the prototype for
+       partition_hot_cold_basic_blocks.
+
 2006-01-16  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
 
        * cppspec.c (lang_specific_spec_functions): remove
index d9fd10c..aa136d3 100644 (file)
@@ -954,7 +954,6 @@ extern bool control_flow_insn_p (rtx);
 
 /* In bb-reorder.c */
 extern void reorder_basic_blocks (unsigned int);
-extern void partition_hot_cold_basic_blocks (void);
 
 /* In dominance.c */
 
index f46b2cf..dc17aa6 100644 (file)
@@ -2161,7 +2161,7 @@ struct tree_opt_pass pass_duplicate_computed_gotos =
    (through registers) requires that this optimization be performed
    before register allocation.  */
 
-void
+static void
 partition_hot_cold_basic_blocks (void)
 {
   basic_block cur_bb;