[ia64] hookize FUNCTION_ARG &co.

Steve Ellcey sje@cup.hp.com
Tue Oct 12 21:31:00 GMT 2010


On Fri, 2010-10-08 at 09:58 -0400, Nathan Froyd wrote:
> The patch below hookizes FUNCTION_ARG and related macros for the ia64
> backend.  Nothing special here.
> 
> Tested by inspection with cross to ia64-elf.  I plan to commit this
> under the obvious rule after waiting a week for comments/approval.
> 
> 	* config/ia64/ia64-protos.h (ia64_function_arg): Delete.
> 	(ia64_function_arg_advance): Delete.
> 	* config/ia64/ia64.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Delete.
> 	(FUNCTION_ARG_ADVANCE): Delete.
> 	* config/ia64/ia64.c (ia64_function_arg): Rename to...
> 	(ia64_function_arg_1): ...this.  Make static.  Take const_tree and
> 	bool arguments.
> 	(ia64_function_arg, ia64_function_incoming_arg): New functions.
> 	(ia64_function_arg_advance): Make static.  Take a const_tree and
> 	a bool.
> 	(TARGET_FUNCTION_ARG, TARGET_FUNCTION_INCOMING_ARG): Define.
> 	(TARGET_FUNCTION_ARG_ADVANCE): Define.

Looks OK to me, check it in whenever you want.

Steve Ellcey
sje@cup.hp.com



More information about the Gcc-patches mailing list