diff options
Diffstat (limited to 'gcc/doc/gimple.texi')
-rw-r--r-- | gcc/doc/gimple.texi | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/gcc/doc/gimple.texi b/gcc/doc/gimple.texi index 635abd39b6e..fa98800a675 100644 --- a/gcc/doc/gimple.texi +++ b/gcc/doc/gimple.texi @@ -1310,11 +1310,13 @@ operand is validated with @code{is_gimple_operand}). @end deftypefn -@deftypefn {GIMPLE function} gcall *gimple_build_call_from_tree (tree call_expr) -Build a @code{GIMPLE_CALL} from a @code{CALL_EXPR} node. The arguments and the -function are taken from the expression directly. This routine -assumes that @code{call_expr} is already in GIMPLE form. That is, its -operands are GIMPLE values and the function call needs no further +@deftypefn {GIMPLE function} gcall *gimple_build_call_from_tree (tree call_expr, @ +tree fnptrtype) +Build a @code{GIMPLE_CALL} from a @code{CALL_EXPR} node. The arguments +and the function are taken from the expression directly. The type of the +@code{GIMPLE_CALL} is set from the second parameter passed by a caller. +This routine assumes that @code{call_expr} is already in GIMPLE form. +That is, its operands are GIMPLE values and the function call needs no further simplification. All the call flags in @code{call_expr} are copied over to the new @code{GIMPLE_CALL}. @end deftypefn |