diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2005-05-04 16:27:21 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2005-05-04 16:27:21 +0000 |
commit | 4268e4cfa2e3720525e68b9b4277cc0bcce5ac5c (patch) | |
tree | ac711ea0814240515bd708e37a106f0ca73bc984 /gcc | |
parent | ce4065374b97d6ee7309d3f38de5ee3f87c69b43 (diff) | |
download | gcc-4268e4cfa2e3720525e68b9b4277cc0bcce5ac5c.zip gcc-4268e4cfa2e3720525e68b9b4277cc0bcce5ac5c.tar.gz gcc-4268e4cfa2e3720525e68b9b4277cc0bcce5ac5c.tar.bz2 |
tm.texi (Target Hooks): Document TARGET_RESOLVE_OVERLOADED_BUILTIN.
2005-05-04 Paolo Bonzini <bonzini@gnu.org>
* doc/tm.texi (Target Hooks): Document
TARGET_RESOLVE_OVERLOADED_BUILTIN.
From-SVN: r99219
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/tm.texi | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 14c2e80..12872d8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-05-04 Paolo Bonzini <bonzini@gnu.org> + + * doc/tm.texi (Target Hooks): Document + TARGET_RESOLVE_OVERLOADED_BUILTIN. + 2005-05-04 Paul Brook <paul@codesourcery.com> * Makefile.in: Change dependencies on target.h to $(TARGET_H). diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 4c883f4..9e755aa 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -9489,6 +9489,18 @@ ignored. This function should return the result of the call to the built-in function. @end deftypefn +@deftypefn {Target Hook} tree TARGET_RESOLVE_OVERLOADED_BUILTIN (tree @var{fndecl}, tree @var{arglist}) + +Select a replacement for a machine specific built-in function that +was set up by @samp{TARGET_INIT_BUILTINS}. This is done +@emph{before} regular type checking, and so allows the target to +implement a crude form of function overloading. @var{fndecl} is the +declaration of the built-in function. @var{arglist} is the list of +arguments passed to the built-in function. The result is a +complete expression that implements the operation, usually +another @code{CALL_EXPR}. +@end deftypefn + @deftypefn {Target Hook} tree TARGET_FOLD_BUILTIN (tree @var{fndecl}, tree @var{arglist}, bool @var{ignore}) Fold a call to a machine specific built-in function that was set up by |