summaryrefslogtreecommitdiff
path: root/gcc/tracer.c
diff options
context:
space:
mode:
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-06 13:39:46 +0000
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-06 13:39:46 +0000
commit4b6ffd1baefaaf652a0427d1484c945b5af06cc0 (patch)
treea66f8e0a3431cadcb145609040b3740eb8aecd35 /gcc/tracer.c
parente2e0b6b0153085ae3195283bd8fbce3c0329033e (diff)
downloadgcc-4b6ffd1baefaaf652a0427d1484c945b5af06cc0.tar.gz
* toplev.c (set_fast_math_flags): Don't use ISO C style function
definitions. * gengtype.c (open_base_files): Likewise. (close_output_files): Likewise. * tracer.c (find_best_predecessor): Likewise. (find_best_successor): Likewise. (ignore_bb_p): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55286 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tracer.c')
-rw-r--r--gcc/tracer.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/gcc/tracer.c b/gcc/tracer.c
index b7c5a768b7d..c0fbe21ad84 100644
--- a/gcc/tracer.c
+++ b/gcc/tracer.c
@@ -1,6 +1,6 @@
/* The tracer pass for the GNU compiler.
Contributed by Jan Hubicka, SuSE Labs.
- Copyright (C) 2001 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002 Free Software Foundation, Inc.
This file is part of GCC.
@@ -49,6 +49,8 @@
static int count_insns PARAMS ((basic_block));
static bool ignore_bb_p PARAMS ((basic_block));
static bool better_p PARAMS ((edge, edge));
+static edge find_best_successor PARAMS ((basic_block));
+static edge find_best_predecessor PARAMS ((basic_block));
static int find_trace PARAMS ((basic_block, basic_block *));
static void tail_duplicate PARAMS ((void));
static void layout_superblocks PARAMS ((void));
@@ -65,7 +67,8 @@ static int branch_ratio_cutoff;
/* Return true if we should ignore the basic block for purposes of tracing. */
static bool
-ignore_bb_p (basic_block bb)
+ignore_bb_p (bb)
+ basic_block bb;
{
if (bb->index < 0)
return true;
@@ -110,7 +113,8 @@ better_p (e1, e2)
/* Return most frequent successor of basic block BB. */
static edge
-find_best_successor (basic_block bb)
+find_best_successor (bb)
+ basic_block bb;
{
edge e;
edge best = NULL;
@@ -128,7 +132,8 @@ find_best_successor (basic_block bb)
/* Return most frequent predecessor of basic block BB. */
static edge
-find_best_predecessor (basic_block bb)
+find_best_predecessor (bb)
+ basic_block bb;
{
edge e;
edge best = NULL;