aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>1999-11-16 09:43:40 -0800
committerRichard Henderson <rth@gcc.gnu.org>1999-11-16 09:43:40 -0800
commit4dc07bd7c1dae4996da88b9d4114c954e5ace101 (patch)
tree1284fde2a9c3617cfa59b12813b42b4c31d7e35b /gcc/function.c
parent95a7b5548cdd92fffb080078fcbef56119410ba5 (diff)
downloadgcc-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/function.c')
-rw-r--r--gcc/function.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 000ea2d..7c491df 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -3992,7 +3992,7 @@ aggregate_value_p (exp)
return 1;
/* Make sure we have suitable call-clobbered regs to return
the value in; if not, we must return it in memory. */
- reg = hard_function_value (type, 0);
+ reg = hard_function_value (type, 0, 0);
/* If we have something other than a REG (e.g. a PARALLEL), then assume
it is OK. */
@@ -6211,7 +6211,7 @@ diddle_return_value (code)
/* Use hard_function_value to avoid creating a reference to a BLKmode
register in the USE/CLOBBER insn. */
return_reg = hard_function_value (TREE_TYPE (decl_result),
- current_function_decl);
+ current_function_decl, 1);
REG_FUNCTION_VALUE_P (return_reg) = 1;
emit_insn (gen_rtx_fmt_e (code, VOIDmode, return_reg));
}