From 6e34d3a39f0ce48e95a2853df4be8d01eb745850 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Sat, 17 Jul 2004 20:35:04 +0100 Subject: langhooks.h (builtin_function): New langhook. * langhooks.h (builtin_function): New langhook. * langhooks-def.h (LANG_HOOKS_BUILTIN_FUNCTION): New. (LANG_HOOKS_INITIALIZER): Update. * tree.h (builtin_function): Remove. * doc/tm.texi: Update. * c-tree.h (builtin_function): Declare. * c-common.c, config/alpha/alpha.c, config/arm/arm.c, config/c4x/c4x.c, config/frv/frv.c, config/i386/i386.c, config/ia64/ia64.c, config/iq2000/iq2000.c, config/rs6000/rs6000.c, config/s390/s390.c, config/sh/sh.c, config/stormy16/stormy16.c: All callers of builtin_function changed. ada: * gigi.h (builtin_function): Declare. cp: * cp-tree.h (builtin_function): Declare. fortran: * trans.h (builtin_function): Declare. java: * java-tree.h (builtin_function): Declare. From-SVN: r84878 --- gcc/config/frv/frv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/config/frv/frv.c') diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c index 5e4a12f..d935540 100644 --- a/gcc/config/frv/frv.c +++ b/gcc/config/frv/frv.c @@ -50,6 +50,7 @@ Boston, MA 02111-1307, USA. */ #include "target-def.h" #include "targhooks.h" #include "integrate.h" +#include "langhooks.h" #ifndef FRV_INLINE #define FRV_INLINE inline @@ -8888,7 +8889,7 @@ frv_pack_insns (void) #define def_builtin(name, type, code) \ - builtin_function ((name), (type), (code), BUILT_IN_MD, NULL, NULL) + lang_hooks.builtin_function ((name), (type), (code), BUILT_IN_MD, NULL, NULL) struct builtin_description { -- cgit v1.1