mips.h (LIBCALL_VALUE, [...]): Remove macros.
authorAnatoly Sokolov <aesok@post.ru>
Sun, 27 Mar 2011 19:43:13 +0000 (23:43 +0400)
committerAnatoly Sokolov <aesok@gcc.gnu.org>
Sun, 27 Mar 2011 19:43:13 +0000 (23:43 +0400)
commit47be3d6d5c316a2adb3b053206e5277bd9c65315
treec1ea1d0150cc0702c0ba3c19c5f718c2abf2970c
parentc29301d6b19c28277b5a419e74297261d66e719e
mips.h (LIBCALL_VALUE, [...]): Remove macros.

        * config/mips/mips.h (LIBCALL_VALUE, FUNCTION_VALUE,
FUNCTION_VALUE_REGNO_P): Remove macros.
        * config/mips/mips-protos.h (mips_function_value): Remove.
        * config/mips/mips.c (mips_function_value): Rename to...
(mips_function_value_1): ... this. Make static.  Handle receiving
the function type in 'fn_decl_or_type' argument.
(mips_function_value, mips_libcall_value,
mips_function_value_regno_p): New function.
(TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE,
TARGET_FUNCTION_VALUE_REGNO_P): Define.

From-SVN: r171580
gcc/ChangeLog
gcc/config/mips/mips-protos.h
gcc/config/mips/mips.c
gcc/config/mips/mips.h