machmode.h (smallest_mode_for_size): Prototype.

* machmode.h (smallest_mode_for_size): Prototype.
        * stor-layout.c (smallest_mode_for_size): Remove static.

From-SVN: r25703
This commit is contained in:
Richard Henderson 1999-03-11 05:56:20 -08:00 committed by Richard Henderson
parent 8e9fb571ee
commit 27922c1362
3 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Thu Mar 11 13:55:52 1999 Richard Henderson <rth@cygnus.com>
* machmode.h (smallest_mode_for_size): Prototype.
* stor-layout.c (smallest_mode_for_size): Remove static.
Thu Mar 11 21:25:59 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
* loop.c (strength_reduce): Don't do biv increment -> DEST_REG giv

View File

@ -199,6 +199,12 @@ extern unsigned char mode_wider_mode[];
extern enum machine_mode mode_for_size PROTO((unsigned int, enum mode_class, int));
/* Similar, but find the smallest mode for a given width. */
extern enum machine_mode smallest_mode_for_size PROTO((unsigned int,
enum mode_class));
/* Return an integer mode of the exact same size as the input mode,
or BLKmode on failure. */

View File

@ -53,8 +53,6 @@ int maximum_field_alignment;
May be overridden by front-ends. */
int set_alignment = 0;
static enum machine_mode smallest_mode_for_size PROTO((unsigned int,
enum mode_class));
static tree layout_record PROTO((tree));
static void layout_union PROTO((tree));
@ -159,7 +157,7 @@ mode_for_size (size, class, limit)
/* Similar, but never return BLKmode; return the narrowest mode that
contains at least the requested number of bits. */
static enum machine_mode
enum machine_mode
smallest_mode_for_size (size, class)
unsigned int size;
enum mode_class class;