From 912e7b955f2ba27c011219c0b300c952fe0aebb0 Mon Sep 17 00:00:00 2001 From: kazu Date: Mon, 16 Jan 2006 19:15:22 +0000 Subject: [PATCH] * bb-reorder.c (partition_hot_cold_basic_blocks): Make it static. * basic-block.h: Remove the prototype for partition_hot_cold_basic_blocks. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109762 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 7 +++++++ gcc/basic-block.h | 1 - gcc/bb-reorder.c | 2 +- 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 + + * 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 * 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; -- 2.7.4