diff options
author | aesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-17 10:46:18 +0000 |
---|---|---|
committer | aesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-17 10:46:18 +0000 |
commit | e5ce10730d97f45e98ff36da067d62193a31e6e8 (patch) | |
tree | 35a894b7f8feb223ff393719776ea737b8b17093 /gcc/target.h | |
parent | 73c0992d382377131b98c97ab210b5ee1e4e3f01 (diff) | |
download | gcc-e5ce10730d97f45e98ff36da067d62193a31e6e8.tar.gz |
* targhooks.c (default_libcall_value): Don't use LIBCALL_VALUE macro
if not defined. Change type of second argument to const_rtx.
(default_function_value): Call gcc_unreachable if FUNCTION_VALUE
macro not defined.
* targhooks.h (default_libcall_value): Update prototype.
* target.h (struct gcc_target): Change type of second argument of
libcall_value to const_rtx.
* config/arm/arm.c (arm_libcall_value): Change type of second argument
to const_rtx.
(arm_libcall_uses_aapcs_base): Change type of argument to const_rtx.
* doc/tm.texi (TARGET_LIBCALL_VALUE): Revise documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152933 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target.h')
-rw-r--r-- | gcc/target.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/target.h b/gcc/target.h index c65063cbfc6..2c7fa4a6aa9 100644 --- a/gcc/target.h +++ b/gcc/target.h @@ -908,7 +908,7 @@ struct gcc_target /* Return the rtx for the result of a libcall of mode MODE, calling the function FN_NAME. */ - rtx (*libcall_value) (enum machine_mode, rtx); + rtx (*libcall_value) (enum machine_mode, const_rtx); /* Return an rtx for the argument pointer incoming to the current function. */ |