diff options
author | Joern Rennecke <amylaar@spamcop.net> | 2010-01-26 15:21:56 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2010-01-26 15:21:56 +0000 |
commit | 7a241624f2a4e684fff1156a8b975801007a425b (patch) | |
tree | 2b813d0ea32f1623dea63ad587fa47bb351733df /gcc/doc | |
parent | 3333cd50b87db95a83b3afebee66d2b8321f1fa1 (diff) | |
download | gcc-7a241624f2a4e684fff1156a8b975801007a425b.zip gcc-7a241624f2a4e684fff1156a8b975801007a425b.tar.gz gcc-7a241624f2a4e684fff1156a8b975801007a425b.tar.bz2 |
tm.texi (TARGET_HANDLE_C_OPTION): Explain arguments.
* doc/tm.texi (TARGET_HANDLE_C_OPTION): Explain arguments.
(TARGET_RESOLVE_OVERLOADED_BUILTIN): Add loc parameter.
Fix types of fndecl and arglist parameters.
From-SVN: r156250
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/tm.texi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 0a72341..e69b0e1 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -781,7 +781,8 @@ This target hook is called whenever the user specifies one of the target-specific C language family options described by the @file{.opt} definition files(@pxref{Options}). It has the opportunity to do some option-specific processing and should return true if the option is -valid. The default definition does nothing but return false. +valid. The arguments are like for @code{TARGET_HANDLE_OPTION}. The +default definition does nothing but return false. In general, you should use @code{TARGET_HANDLE_OPTION} to handle options. However, if processing an option requires routines that are @@ -10650,7 +10651,7 @@ 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}) +@deftypefn {Target Hook} tree TARGET_RESOLVE_OVERLOADED_BUILTIN (unsigned int @var{loc}, tree @var{fndecl}, void *@var{arglist}) Select a replacement for a machine specific built-in function that was set up by @samp{TARGET_INIT_BUILTINS}. This is done @@ -10660,6 +10661,7 @@ 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}. +@var{arglist} really has type @samp{VEC(tree,gc)*} @end deftypefn @deftypefn {Target Hook} tree TARGET_FOLD_BUILTIN (tree @var{fndecl}, tree @var{arglist}, bool @var{ignore}) |