(def_builtin): Go through lang_hooks to call builtin_function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102193
138bc75d-0d04-0410-961f-
82ee72b054a4
2005-07-20 Bernd Schmidt <bernd.schmidt@analog.com>
+ * config/bfin/bfin.c: Include "langhooks.h".
+ (def_builtin): Go through lang_hooks to call builtin_function.
+
* config/bfin/bfin-protos.h (bfin_longcall_p): Declare.
* config/bfin/predicates.md (symbol_ref_operand): New.
(call_insn_operand): Delete. All callers changed to use
#include "recog.h"
#include "ggc.h"
#include "integrate.h"
+#include "langhooks.h"
#include "bfin-protos.h"
#include "tm-preds.h"
#include "gt-bfin.h"
BFIN_BUILTIN_MAX
};
-#define def_builtin(NAME, TYPE, CODE) \
-do { \
- builtin_function ((NAME), (TYPE), (CODE), BUILT_IN_MD, \
- NULL, NULL_TREE); \
+#define def_builtin(NAME, TYPE, CODE) \
+do { \
+ lang_hooks.builtin_function ((NAME), (TYPE), (CODE), BUILT_IN_MD, \
+ NULL, NULL_TREE); \
} while (0)
/* Set up all builtin functions for this target. */