Patch to add language hook in staticp

Richard Henderson rth@redhat.com
Tue Dec 4 14:38:00 GMT 2001


On Mon, Dec 03, 2001 at 05:23:08PM +0000, Joseph S. Myers wrote:
> 	* langhooks.h (struct lang_hooks): Add staticp.
> 	* langhooks-def.h (lhd_staticp, LANG_HOOKS_STATICP): New.
> 	(LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_STATICP.
> 	* langhooks.c (lhd_staticp): New function.
> 	* tree.c (staticp): Call lang_hooks.staticp for language-specific
> 	tree codes.

Ok.


r~



More information about the Gcc-patches mailing list