This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] bb-reorder.c: Make partition_hot_cold_basic_blocks static.
- From: Kazu Hirata <kazu at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 16 Jan 2006 11:15:30 -0800
- Subject: [patch] bb-reorder.c: Make partition_hot_cold_basic_blocks static.
Hi,
Attached is a patch to make partition_hot_cold_basic_blocks static.
Bootstrapped on x86_64-pc-linux-gnu. Committed as preapproved.
Kazu Hirata
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.
Index: basic-block.h
===================================================================
--- basic-block.h (revision 109741)
+++ basic-block.h (working copy)
@@ -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: bb-reorder.c
===================================================================
--- bb-reorder.c (revision 109741)
+++ bb-reorder.c (working copy)
@@ -2161,7 +2161,7 @@ struct tree_opt_pass pass_duplicate_comp
(through registers) requires that this optimization be performed
before register allocation. */
-void
+static void
partition_hot_cold_basic_blocks (void)
{
basic_block cur_bb;