diff options
author | Jakub Jelinek <jakub@redhat.com> | 1999-11-16 09:43:40 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-11-16 09:43:40 -0800 |
commit | 4dc07bd7c1dae4996da88b9d4114c954e5ace101 (patch) | |
tree | 1284fde2a9c3617cfa59b12813b42b4c31d7e35b /gcc/calls.c | |
parent | 95a7b5548cdd92fffb080078fcbef56119410ba5 (diff) | |
download | gcc-4dc07bd7c1dae4996da88b9d4114c954e5ace101.zip gcc-4dc07bd7c1dae4996da88b9d4114c954e5ace101.tar.gz gcc-4dc07bd7c1dae4996da88b9d4114c954e5ace101.tar.bz2 |
explow.c (hard_function_value): Add outgoing argument.
* explow.c (hard_function_value): Add outgoing argument.
* expr.h (hard_function_value): Declare it.
* calls.c (expand_call, emit_library_call_value): Update callers.
* function.c (aggregate_value_p): Ditto.
(diddle_return_value): Must look at the outgoing registers
on archs with register windows.
From-SVN: r30550
Diffstat (limited to 'gcc/calls.c')
-rw-r--r-- | gcc/calls.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index 15b64e0e..48c0d5e 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -2211,9 +2211,9 @@ expand_call (exp, target, ignore) { if (pcc_struct_value) valreg = hard_function_value (build_pointer_type (TREE_TYPE (exp)), - fndecl); + fndecl, 0); else - valreg = hard_function_value (TREE_TYPE (exp), fndecl); + valreg = hard_function_value (TREE_TYPE (exp), fndecl, 0); } /* Precompute all register parameters. It isn't safe to compute anything @@ -3138,7 +3138,7 @@ emit_library_call_value VPROTO((rtx orgfun, rtx value, int no_queue, #ifdef PCC_STATIC_STRUCT_RETURN rtx pointer_reg = hard_function_value (build_pointer_type (type_for_mode (outmode, 0)), - 0); + 0, 0); mem_value = gen_rtx_MEM (outmode, pointer_reg); pcc_struct_value = 1; if (value == 0) |