mode-switching.c (optimize_mode_switching): Make it static.

* mode-switching.c (optimize_mode_switching): Make it static.
	* basic-block.h: Remove the prototype for
	optimize_mode_switching.

From-SVN: r109887
This commit is contained in:
Kazu Hirata 2006-01-18 15:01:18 +00:00 committed by Kazu Hirata
parent 75c752a07f
commit 7399bcb0fa
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2006-01-18 Kazu Hirata <kazu@codesourcery.com>
* mode-switching.c (optimize_mode_switching): Make it static.
* basic-block.h: Remove the prototype for
optimize_mode_switching.
2006-01-18 Eric Botcazou <ebotcazou@adacore.com>
* config/alpha/alpha.c (alpha_split_tfmode_pair): Rename into

View File

@ -872,7 +872,6 @@ extern struct edge_list *pre_edge_rev_lcm (FILE *, int, sbitmap *,
sbitmap *, sbitmap **,
sbitmap **);
extern void compute_available (sbitmap *, sbitmap *, sbitmap *, sbitmap *);
extern int optimize_mode_switching (FILE *);
/* In predict.c */
extern void estimate_probability (struct loops *);

View File

@ -382,7 +382,7 @@ create_pre_exit (int n_entities, int *entity_map, const int *num_modes)
/* Find all insns that need a particular mode setting, and insert the
necessary mode switches. Return true if we did work. */
int
static int
optimize_mode_switching (FILE *file)
{
rtx insn;