diff options
author | Richard Guenther <rguenther@suse.de> | 2005-07-14 07:39:56 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2005-07-14 07:39:56 +0000 |
commit | 1d636cc69fa14e7f7daa4eef6ecb6a6a1413cfda (patch) | |
tree | db222e8988c1c3f0439e84b38f6bc6ae99babae0 /gcc/target-def.h | |
parent | 94b00ee4e1126901db295a7223b3c6d7c5b1868d (diff) | |
download | gcc-1d636cc69fa14e7f7daa4eef6ecb6a6a1413cfda.zip gcc-1d636cc69fa14e7f7daa4eef6ecb6a6a1413cfda.tar.gz gcc-1d636cc69fa14e7f7daa4eef6ecb6a6a1413cfda.tar.bz2 |
Makefile.in (explow.o, [...]): Depend on target.h.
2005-07-14 Richard Guenther <rguenther@suse.de>
* Makefile.in (explow.o, reg-stack.o): Depend on target.h.
* calls.c (expand_call): Pass fntype to hard_function_value.
(emit_library_call_value_1): Likewise.
* explow.c: Include target.h.
(hard_function_value): Take extra argument, the fntype.
Use new target hook for function_value.
* expr.h (hard_function_value): Change prototype.
* function.c (aggregate_value_p): Pass 0 as fntype to
hard_function_value.
(assign_parms): Use new target hook for function_value.
Pass 0 as fntype to hard_function_value.
(expand_function_end): Likewise.
* reg-stack.c: Include target.h.
(stack_result): Use new target hook for function_value.
* target-def.h: New target hook function_value.
* target.h: Likewise.
* targhooks.c (default_function_value): New function.
* targhooks.h (default_function_value): Declare.
From-SVN: r102013
Diffstat (limited to 'gcc/target-def.h')
-rw-r--r-- | gcc/target-def.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/target-def.h b/gcc/target-def.h index 6f8470e..a9921c7 100644 --- a/gcc/target-def.h +++ b/gcc/target-def.h @@ -438,6 +438,8 @@ Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #define TARGET_CALLEE_COPIES hook_bool_CUMULATIVE_ARGS_mode_tree_bool_false #define TARGET_ARG_PARTIAL_BYTES hook_int_CUMULATIVE_ARGS_mode_tree_bool_0 +#define TARGET_FUNCTION_VALUE default_function_value + #define TARGET_CALLS { \ TARGET_PROMOTE_FUNCTION_ARGS, \ TARGET_PROMOTE_FUNCTION_RETURN, \ @@ -454,7 +456,8 @@ Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. TARGET_MUST_PASS_IN_STACK, \ TARGET_CALLEE_COPIES, \ TARGET_ARG_PARTIAL_BYTES, \ - TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN \ + TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN, \ + TARGET_FUNCTION_VALUE \ } #ifndef TARGET_UNWIND_TABLES_DEFAULT |