aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-01-16 19:15:22 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-01-16 19:15:22 +0000
commit081c6ba6fc44bb3b2cf31da2519eedbda142a207 (patch)
treedf6c6466acb2e23dc0b9793012e566a464864839 /gcc
parent4c360e1f8b923ecceb6a21d6f84bc0468fbddcc6 (diff)
downloadgcc-081c6ba6fc44bb3b2cf31da2519eedbda142a207.zip
gcc-081c6ba6fc44bb3b2cf31da2519eedbda142a207.tar.gz
gcc-081c6ba6fc44bb3b2cf31da2519eedbda142a207.tar.bz2
bb-reorder.c (partition_hot_cold_basic_blocks): Make it static.
* 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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/basic-block.h1
-rw-r--r--gcc/bb-reorder.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d1ce375..a5048a1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index d9fd10c..aa136d3 100644
--- a/gcc/basic-block.h
+++ b/gcc/basic-block.h
@@ -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 */
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c
index f46b2cf..dc17aa6 100644
--- a/gcc/bb-reorder.c
+++ b/gcc/bb-reorder.c
@@ -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;