mips-protos.h (mips_valid_pointer_mode): Move prototype...
2004-12-07 Eric Christopher <echristo@redhat.com> * config/mips/mips-protos.h (mips_valid_pointer_mode): Move prototype... * config/mips/mips.c: ... here. Make static. From-SVN: r91830
This commit is contained in:
parent
a122d1f1d3
commit
20c076a853
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-12-07 Eric Christopher <echristo@redhat.com>
|
||||
|
||||
* config/mips/mips-protos.h (mips_valid_pointer_mode): Move
|
||||
prototype...
|
||||
* config/mips/mips.c: ... here. Make static.
|
||||
|
||||
2004-12-07 Eric Christopher <echristo@redhat.com>
|
||||
|
||||
PR target/18442
|
||||
|
|
|
@ -191,7 +191,6 @@ extern enum reg_class mips_secondary_reload_class (enum reg_class,
|
|||
enum machine_mode,
|
||||
rtx, int);
|
||||
extern int mips_class_max_nregs (enum reg_class, enum machine_mode);
|
||||
extern bool mips_valid_pointer_mode (enum machine_mode);
|
||||
extern int build_mips16_call_stub (rtx, rtx, rtx, int);
|
||||
extern int mips_register_move_cost (enum machine_mode, enum reg_class,
|
||||
enum reg_class);
|
||||
|
|
|
@ -352,6 +352,7 @@ static bool mips_pass_by_reference (CUMULATIVE_ARGS *, enum machine_mode mode,
|
|||
tree, bool);
|
||||
static bool mips_callee_copies (CUMULATIVE_ARGS *, enum machine_mode mode,
|
||||
tree, bool);
|
||||
static bool mips_valid_pointer_mode (enum machine_mode);
|
||||
static bool mips_scalar_mode_supported_p (enum machine_mode);
|
||||
static bool mips_vector_mode_supported_p (enum machine_mode);
|
||||
static rtx mips_prepare_builtin_arg (enum insn_code, unsigned int, tree *);
|
||||
|
@ -7074,7 +7075,7 @@ mips_class_max_nregs (enum reg_class class ATTRIBUTE_UNUSED,
|
|||
return (GET_MODE_SIZE (mode) + UNITS_PER_WORD - 1) / UNITS_PER_WORD;
|
||||
}
|
||||
|
||||
bool
|
||||
static bool
|
||||
mips_valid_pointer_mode (enum machine_mode mode)
|
||||
{
|
||||
return (mode == SImode || (TARGET_64BIT && mode == DImode));
|
||||
|
|
Loading…
Add table
Reference in a new issue