summaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-25 16:59:51 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-25 16:59:51 +0000
commitf9567f01d5da105421eb3e672fbf0ae7e28d9d72 (patch)
tree45ce0b16704506b682f3c11d643f3f48df97bee9 /gcc/final.c
parentf89071b3181de06ca5e468ad40535387f7b3d657 (diff)
downloadgcc-f9567f01d5da105421eb3e672fbf0ae7e28d9d72.tar.gz
* final.c (compute_alignments): Make it static.
* gcse.c (gcse_main, bypass_jumps): Likewise. * web.c (web_main): Likewise. * output.h: Remove the prototype for compute_alignments. * rtl.h: Remove the prototypes for web_main, gcse_main, and bypass_jumps. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109051 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/final.c b/gcc/final.c
index 2b13fb907b9..b25876af619 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -676,7 +676,10 @@ insn_current_reference_address (rtx branch)
}
#endif /* HAVE_ATTR_length */
-void
+/* Compute branch alignments based on frequency information in the
+ CFG. */
+
+static void
compute_alignments (void)
{
int log, max_skip, max_log;