From: Kazu Hirata Date: Mon, 16 Jan 2006 19:15:22 +0000 (+0000) Subject: bb-reorder.c (partition_hot_cold_basic_blocks): Make it static. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=081c6ba6fc44bb3b2cf31da2519eedbda142a207;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d1ce375b2be..a5048a1dd87 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 d9fd10c90d1..aa136d378d7 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 f46b2cf871e..dc17aa6dd7f 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;