[mips] hookize PRINT_OPERAND &co.
Richard Sandiford
rdsandiford@googlemail.com
Mon Jun 7 21:24:00 GMT 2010
Nathan Froyd <froydnj@codesourcery.com> writes:
> * mips-protos.h (mips_print_operand): Delete.
> (mips_print_operand_address): Delete.
> * mips.h (mips_print_operand_punct): Delete.
> (PRINT_OPERAND): Delete.
> (PRINT_OPERAND_PUNCT_VALID_P): Delete.
> (PRINT_OPERAND_ADDRESS): Delete.
> * mips.c (mips_print_operand_punct): Make static.
> (mips_print_operand_address): Make static.
> (mips_print_operand): Make static.
> (mips_print_operand_punct_valid_p): New function.
> (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define.
> (TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define.
OK, thanks, but...
> @@ -7619,7 +7628,7 @@ mips_print_operand (FILE *file, rtx op, int letter)
>
> /* Output address operand X to FILE. */
>
> -void
> +static void
> mips_print_operand_address (FILE *file, rtx x)
> {
> struct mips_address_info addr;
...please change the comment to "Implement TARGET_PRINT_OPERAND_ADDRESS.",
for consistency with the others.
Richard
More information about the Gcc-patches
mailing list