This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Intrinsics for PowerPC
On Dec 22, 2003, at 5:54 PM, Ziemowit Laski wrote:
On 22 Dec 2003, at 17.24, Syd Polk wrote:
2) To define the function signature for 'eieio', you may want to use what's done elsewhere in the code:
tree void_ftype_void
= build_function_type (void_type_node, void_list_node);
You have to make a list that contains void_list_node to use this function. Everywhere else in rs6000.c they call build_function_type_list, which creates the list for you.
as I'm not sure if 'build_function_type_list' will do what you want...
All it does is create the type list out of your args, and call build_function_type.
Syd Polk
Apple Computer
Technology EPM, Mac OS X Development Tools
+1 408 974-0577