This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [spu] hookize FUNCTION_ARG &co.
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: froydnj at codesourcery dot com (Nathan Froyd)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 2 Sep 2010 17:01:20 +0200 (CEST)
- Subject: Re: [spu] hookize FUNCTION_ARG &co.
Nathan Froyd wrote:
> * config/spu/spu-protos.h (spu_function_arg): Delete.
> * config/spu/spu.h (FUNCTION_ARG): Delete.
> (FUNCTION_ARG_ADVANCE): Move code to ...
> * config/spu/spu.c (spu_function_arg_advance): New function.
> (spu_function_arg): Make static. Take a const_tree and a bool.
> (spu_setup_incoming_varargs): Call spu_function_arg_advance.
> (TARGET_FUNCTION_ARG, TARGET_FUNCTION_ARG_ADVANCE): Define.
This is OK as well.
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com