mn10300.c (REG_SAVE_BYTES): Delete.
authorNick Clifton <nickc@redhat.com>
Thu, 26 Jul 2012 14:23:51 +0000 (14:23 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Thu, 26 Jul 2012 14:23:51 +0000 (14:23 +0000)
commite902c2664729f6f4c624c01b2261b4963e7a72ef
tree926ec22e906c5b74ad2932f58ac01b54f9967243
parentd38933a0032bf9b04639575267bcb25e8c6a4463
mn10300.c (REG_SAVE_BYTES): Delete.

* config/mn10300/mn10300.c (REG_SAVE_BYTES): Delete.
(mn10300_get_live_callee_saved_regs): If requested return a count
of the number of bytes in the mask.
(mn10300_expand_prologue): Add argument to invocation of
mn10300_get_live_callee_regs.
(mn10300_expand_epilogue): Compute reg_save_bytes by calling
mn10300_get_live_callee_saved_regs.
(mn10300_initial_offset): Likewise.
* config/mn10300/mn10300-protos.h (mn10300_get_live_callee_saved_regs):
Update prototype.
* config/mn10300/mn10300.md (return_ret): Add argument to
invocation of mn10300_get_live_callee_saved_regs.

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