Commit 04578e64 by Kazu Hirata Committed by Kazu Hirata

loop.c (loop_optimize): Make it static.

	* loop.c (loop_optimize): Make it static.
	* cfgloop.h: Remove the prototype for loop_optimize.
	* rtl.h: Likewise.

From-SVN: r109795
parent 57c8b089
...@@ -6,6 +6,10 @@ ...@@ -6,6 +6,10 @@
* local-alloc.c (local_alloc): Make it static. * local-alloc.c (local_alloc): Make it static.
* rtl.h: Remove the prototype for local_alloc. * rtl.h: Remove the prototype for local_alloc.
* loop.c (loop_optimize): Make it static.
* cfgloop.h: Remove the prototype for loop_optimize.
* rtl.h: Likewise.
2006-01-16 DJ Delorie <dj@redhat.com> 2006-01-16 DJ Delorie <dj@redhat.com>
* reload.c (reg_overlap_mentioned_for_reload_p): Handle subregs of * reload.c (reg_overlap_mentioned_for_reload_p): Handle subregs of
......
...@@ -460,6 +460,4 @@ extern void record_estimate (struct loop *, tree, tree, tree); ...@@ -460,6 +460,4 @@ extern void record_estimate (struct loop *, tree, tree, tree);
/* Flags passed to loop_optimize. */ /* Flags passed to loop_optimize. */
#define LOOP_PREFETCH 1 #define LOOP_PREFETCH 1
extern void loop_optimize (rtx, FILE *, int);
#endif /* GCC_CFGLOOP_H */ #endif /* GCC_CFGLOOP_H */
...@@ -803,7 +803,7 @@ compute_luids (rtx start, rtx end, int prev_luid) ...@@ -803,7 +803,7 @@ compute_luids (rtx start, rtx end, int prev_luid)
and DUMPFILE is a stream for output of a trace of actions taken and DUMPFILE is a stream for output of a trace of actions taken
(or 0 if none should be output). */ (or 0 if none should be output). */
void static void
loop_optimize (rtx f, FILE *dumpfile, int flags) loop_optimize (rtx f, FILE *dumpfile, int flags)
{ {
rtx insn; rtx insn;
......
...@@ -2000,7 +2000,6 @@ extern void print_inline_rtx (FILE *, rtx, int); ...@@ -2000,7 +2000,6 @@ extern void print_inline_rtx (FILE *, rtx, int);
/* In loop.c */ /* In loop.c */
extern void init_loop (void); extern void init_loop (void);
extern void loop_optimize (rtx, FILE *, int);
/* In bt-load.c */ /* In bt-load.c */
extern void branch_target_load_optimize (bool); extern void branch_target_load_optimize (bool);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment