avr.h (RET_REGISTER, [...]): Remove.
authorAnatoly Sokolov <aesok@post.ru>
Fri, 18 Mar 2011 15:27:10 +0000 (18:27 +0300)
committerAnatoly Sokolov <aesok@gcc.gnu.org>
Fri, 18 Mar 2011 15:27:10 +0000 (18:27 +0300)
commit68fd7765e4b8719538b920e4e868910a4c15db22
treec75bc75d87bddcaa43ea31c1df93278f3455de64
parentb3f1cee49f3f9c59cfb7e05a7dc7a2b6e480305a
avr.h (RET_REGISTER, [...]): Remove.

* config/avr/avr.h (RET_REGISTER, LIBCALL_VALUE,
FUNCTION_VALUE_REGNO_P): Remove.
* config/avr/avr-protos.h (avr_ret_register, avr_libcall_value):
Remove.
* config/avr/avr.c (avr_ret_register): Make static inline.
(avr_function_value_regno_p): New function.
(avr_libcall_value): Make static. Add 'func' argument.
(avr_function_value): Make static. Rename 'func' argument to
'fn_decl_or_type', forward it to avr_libcall_value. Call
avr_ret_register function instead of RET_REGISTER macro.
  (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define.

From-SVN: r171149
gcc/ChangeLog
gcc/config/avr/avr-protos.h
gcc/config/avr/avr.c
gcc/config/avr/avr.h