r151248 - in /trunk/gcc: ChangeLog config/mep/m...
dj@gcc.gnu.org
dj@gcc.gnu.org
Mon Aug 31 21:37:00 GMT 2009
Author: dj
Date: Mon Aug 31 21:37:49 2009
New Revision: 151248
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151248
Log:
* config/mep/mep.c (machine_function): Add frame_locked flag. Set
it once we start generating the prologue or epilogue.
(mep_call_saves_register): If the frame is locked, re-use cached values.
(mep_assign_save_slots): New, broken out from mep_expand_prologue.
(mep_expand_prologue): Call it.
(mep_expand_epilogue): Likewise.
(mep_start_function): Use the same logic as mep_expand_prologue.
(mep_pass_by_reference): Make logic more readable.
(mep_return_in_memory): Zero-sized objects are passed in memory.
(mep_reorg_noframe): Make sure we have accurate REG_DEAD notes.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/mep/mep.c
More information about the Gcc-cvs
mailing list