OSDN Git Service

* output.h (current_function_is_leaf,
authorwehle <wehle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Apr 1999 13:09:37 +0000 (13:09 +0000)
committerwehle <wehle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Apr 1999 13:09:37 +0000 (13:09 +0000)
commitb3b67b7c9289a06fb681ce2264335e5a891366a5
tree266e9b6a151a15a5ac1a49e1ec8038fde7907520
parent7cd49ff039f1b6700ca8144ebfdb002d110161c1
* output.h (current_function_is_leaf,
current_function_uses_only_leaf_regs): Declare.
* function.c (current_function_is_leaf,
current_function_uses_only_leaf_regs): Define.
(init_function_start): Initialize current_function_is_leaf
and current_function_uses_only_leaf_regs.
* final.c (leaf_function): Don't define.
(final_start_function): Replace uses of leaf_function with
current_function_uses_only_leaf_regs.
* toplev.c (rest_of_compilation): Set current_function_is_leaf
prior to invoking local register allocation.
(rest_of_compilation): Replace uses of leaf_function with
current_function_uses_only_leaf_regs.
* dbxout.c (dbxout_symbol, dbxout_parms): Likewise.
* dwarf2out.c (add_location_or_const_vaule_attribute): Likewise.
* dwarfout.c (add_location_or_const_value_attribute): Likewise.
* sdbout.c (sdbout_symbol): Likewise.
* sparc.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
* sparc.c (eligible_for_epilogue_delay, output_return,
sparc_return_peephole_ok): Likewise.
* sparc.md (leaf_function attribute, untyped_return): Likewise.
* i386.c (ix86_compute_frame_size): Don't align the stack
for leaf functions which don't allocate any stack slots.
* tm.texi: Update documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26538 138bc75d-0d04-0410-961f-82ee72b054a4
14 files changed:
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.h
gcc/config/sparc/sparc.md
gcc/dbxout.c
gcc/dwarf2out.c
gcc/dwarfout.c
gcc/final.c
gcc/function.c
gcc/output.h
gcc/sdbout.c
gcc/tm.texi
gcc/toplev.c