mn10300.c (mn10300_function_value): Make static, add new 'outgoing' argument.
commit34732b0adebe0eff2db3c23e0e3c667ec7e4c22c
authorAnatoly Sokolov <aesok@post.ru>
Sat, 31 Oct 2009 21:56:14 +0000 (1 00:56 +0300)
committerAnatoly Sokolov <aesok@gcc.gnu.org>
Sat, 31 Oct 2009 21:56:14 +0000 (1 00:56 +0300)
treec5f6c633174ba9d95f902eff1e2ec3a9c6806ab2
parent46527cc82c394c372e91b7453dccfc1da5899aa0
mn10300.c (mn10300_function_value): Make static, add new 'outgoing' argument.

* config/mn10300/mn10300.c (mn10300_function_value): Make static, add
new 'outgoing' argument.
(mn10300_libcall_value, mn10300_function_value_regno_p): New
functions.
(TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Declare.
* config/mn10300/mn10300.h: (FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE,
LIBCALL_VALUE): Remove.
(FUNCTION_VALUE_REGNO_P): Redefine, use mn10300_function_value_regno_p.
* config/mn10300/mn10300-protos.h (mn10300_function_value): Remove.
(mh10300_function_value_regno_p): Declare.

From-SVN: r153782
gcc/ChangeLog
gcc/config/mn10300/mn10300-protos.h
gcc/config/mn10300/mn10300.c
gcc/config/mn10300/mn10300.h