diff options
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/gcc/function.c b/gcc/function.c index 41305c8..518d524 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -92,22 +92,6 @@ along with GCC; see the file COPYING3. If not see alignment. */ #define CEIL_ROUND(VALUE,ALIGN) (((VALUE) + (ALIGN) - 1) & ~((ALIGN)- 1)) -/* Nonzero if function being compiled doesn't contain any calls - (ignoring the prologue and epilogue). This is set prior to - local register allocation and is valid for the remaining - compiler passes. */ -int current_function_is_leaf; - -/* Nonzero if function being compiled doesn't modify the stack pointer - (ignoring the prologue and epilogue). This is only valid after - pass_stack_ptr_mod has run. */ -int current_function_sp_is_unchanging; - -/* Nonzero if the function being compiled is a leaf function which only - uses leaf registers. This is valid after reload (specifically after - sched2) and is useful only if the port defines LEAF_REGISTERS. */ -int current_function_uses_only_leaf_regs; - /* Nonzero once virtual register instantiation has been done. assign_stack_local uses frame_pointer_rtx when this is nonzero. calls.c:emit_library_call_value_1 uses it to set up @@ -6768,7 +6752,7 @@ static unsigned int rest_of_handle_check_leaf_regs (void) { #ifdef LEAF_REGISTERS - current_function_uses_only_leaf_regs + crtl->uses_only_leaf_regs = optimize > 0 && only_leaf_regs_used () && leaf_function_p (); #endif return 0; |