This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
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~