This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Resubmit: New lang hook: ok_for_sibcall


On Wed, May 21, 2003 at 08:11:32PM +0100, Andrew Haley wrote:
> 	* langhooks-def.h (LANG_HOOKS_DECL_OK_FOR_SIBCALL): New.
> 	(LANG_HOOKS_DECLS): Add LANG_HOOKS_DECL_OK_FOR_SIBCALL.
> 	(lhd_decl_ok_for_sibcall): New.
> 	* langhooks.c (lhd_decl_ok_for_sibcall): New.
> 	* langhooks.h (lang_hooks_for_decls.ok_for_sibcall): New field.
> 	* calls.c (expand_call): Check lang_hook before generating a
> 	sibcall.

Ok.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]