[Patch ARM] Move return_using_this_insn to cfun.
Richard Earnshaw
rearnsha@arm.com
Tue Mar 31 17:04:00 GMT 2009
On Tue, 2009-03-31 at 17:25 +0100, Ramana Radhakrishnan wrote:
> Hi,
>
> This patch is an almost mechanical replacement of the global variable
> return_used_this_function by moving it into machine specific data.
>
> Ok to commit after a round of regression testing ?
>
>
>
> Cheers
> Ramana
>
>
> 2009-03-31 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
>
> * config/arm/arm.c (return_used_this_function): Remove.
> (arm_output_function_prologue): Remove use of
> return_used_this_function.
> (output_return_instruction): Replace use of
> return_used_this_function
> by cfun->machine->return_used_this_function.
> (arm_output_epilogue): Likewise.
> (arm_output_function_epilogue): Likewise.
> (thumb_unexpanded_epilogue): Likewise.
>
> * config/arm/arm.h (struct machine_function):
> return_used_this_function
> New member.
OK.
R.
--
Richard Earnshaw Email: Richard.Earnshaw@arm.com
Engineering Manager Phone: +44 1223 400569 (Direct + VoiceMail)
OpenSource Tools Switchboard: +44 1223 400400
ARM Ltd Fax: +44 1223 400410
110 Fulbourn Rd Web: http://www.arm.com/
Cambridge, UK. CB1 9NJ
More information about the Gcc-patches
mailing list