]> git.ipfire.org Git - thirdparty/gcc.git/commit
arm.c (use_return_insn): New argument, SIBLING.
authorRichard Earnshaw <rearnsha@arm.com>
Thu, 20 Nov 2003 11:44:19 +0000 (11:44 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Thu, 20 Nov 2003 11:44:19 +0000 (11:44 +0000)
commita72d4945d39e4386f107787cfd78e8d681f53c14
tree029156bebba710b4f4a4a918b838c987c8d482ca
parent8d98c44cc3fd42db75b088adeb4d6d0977101cf3
arm.c (use_return_insn): New argument, SIBLING.

* arm.c (use_return_insn): New argument, SIBLING.  Support returning
with a single instruction if the stack has been decremented by 4
and we have a frame pointer.  Update all callers.
(output_return_instruction): Likewise.
(arm_output_epilogue): Change argument to SIBLING.  Calculate
really_return from the new argument.  Update all callers.
* arm.h (USE_RETURN_INSN): Pass NULL for the sibling.
* arm.md (sibcall_epilogue): Call use_return_insn directly, and
pass the sibling call.
* arm-protos.h (use_return_insn, arm_output_epilogue): Update
prototypes.

From-SVN: r73761
gcc/ChangeLog
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.c
gcc/config/arm/arm.h
gcc/config/arm/arm.md