diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-11 23:11:39 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-11 23:11:39 +0000 |
commit | 9db60a527bd955ea2b068b958e29ec83acf92bc1 (patch) | |
tree | 1513627bfa75f0e9c0e5a865e58faf96ac324873 /gcc/cfgloopmanip.c | |
parent | 7342104b12d73ed3c6993c706168a8af5ab16829 (diff) | |
download | gcc-9db60a527bd955ea2b068b958e29ec83acf92bc1.tar.gz |
* cfgloopmanip.c (update_single_exits_after_duplication,
unloop): Make them static.
* cfgloop.h: Remove the corresponding prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90503 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgloopmanip.c')
-rw-r--r-- | gcc/cfgloopmanip.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/cfgloopmanip.c b/gcc/cfgloopmanip.c index f3e8f183373..ab782037157 100644 --- a/gcc/cfgloopmanip.c +++ b/gcc/cfgloopmanip.c @@ -47,6 +47,7 @@ static void scale_loop_frequencies (struct loop *, int, int); static void scale_bbs_frequencies (basic_block *, int, int, int); static basic_block create_preheader (struct loop *, int); static void fix_irreducible_loops (basic_block); +static void unloop (struct loops *, struct loop *); #define RDIV(X,Y) (((X) + (Y) / 2) / (Y)) @@ -582,7 +583,7 @@ loopify (struct loops *loops, edge latch_edge, edge header_edge, /* Remove the latch edge of a LOOP and update LOOPS tree to indicate that the LOOP was removed. After this function, original loop latch will have no successor, which caller is expected to fix somehow. */ -void +static void unloop (struct loops *loops, struct loop *loop) { basic_block *body; @@ -822,7 +823,7 @@ can_duplicate_loop_p (struct loop *loop) /* The NBBS blocks in BBS will get duplicated and the copies will be placed to LOOP. Update the single_exit information in superloops of LOOP. */ -void +static void update_single_exits_after_duplication (basic_block *bbs, unsigned nbbs, struct loop *loop) { |