aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2005-12-25 16:59:51 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-12-25 16:59:51 +0000
commit65727068eae667fd1ec4595c6ebcaceed029963f (patch)
tree45ce0b16704506b682f3c11d643f3f48df97bee9 /gcc/final.c
parentb6c69918de56d4c09ee60b5f99503b490f651939 (diff)
downloadgcc-65727068eae667fd1ec4595c6ebcaceed029963f.zip
gcc-65727068eae667fd1ec4595c6ebcaceed029963f.tar.gz
gcc-65727068eae667fd1ec4595c6ebcaceed029963f.tar.bz2
final.c (compute_alignments): Make it static.
* 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. From-SVN: r109051
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 2b13fb9..b25876a 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;