diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2019-08-20 08:51:09 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2019-08-20 08:51:09 +0000 |
commit | 4f53599cb5b822cd7f95997861c2e064977ecb6a (patch) | |
tree | 9bd3f242894091d3344f3c78727d09c0f031167d /gcc/calls.h | |
parent | fde65a89fad742c2dca8ad50452e482d22f3c1b2 (diff) |
Add must_pass_va_arg_in_stack
This patch splits out another idiom from the va_arg gimplification
routines, so that there's only one place to update later.
2019-08-20 Richard Sandiford <richard.sandiford@arm.com>
gcc/
* calls.h (must_pass_va_arg_in_stack): Declare.
* calls.c (must_pass_va_arg_in_stack): New function.
* config/alpha/alpha.c (alpha_gimplify_va_arg_1): Use it.
* config/sh/sh.c (sh_gimplify_va_arg_expr): Likewise.
* config/stormy16/stormy16.c (xstormy16_gimplify_va_arg_expr):
Likewise.
* config/xtensa/xtensa.c (xtensa_gimplify_va_arg_expr): Likewise.
From-SVN: r274696
Diffstat (limited to 'gcc/calls.h')
-rw-r--r-- | gcc/calls.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/calls.h b/gcc/calls.h index 2f41fa34abb..b08427044b1 100644 --- a/gcc/calls.h +++ b/gcc/calls.h @@ -28,6 +28,7 @@ extern bool gimple_alloca_call_p (const gimple *); extern bool alloca_call_p (const_tree); extern bool must_pass_in_stack_var_size (machine_mode, const_tree); extern bool must_pass_in_stack_var_size_or_pad (machine_mode, const_tree); +extern bool must_pass_va_arg_in_stack (tree); extern rtx prepare_call_address (tree, rtx, rtx, rtx *, int, int); extern bool shift_return_value (machine_mode, bool, rtx); extern rtx expand_call (tree, rtx, int); |