*** empty log message ***
From-SVN: r705
This commit is contained in:
parent
c0dad767e2
commit
a72cb8ec98
@ -1825,20 +1825,6 @@ compute_frame_size (size, leaf_function)
|
||||
return actual_fsize;
|
||||
}
|
||||
|
||||
/* If this were a leaf function, how far would we have to reach
|
||||
from the stack pointer to the last arg on the stack?
|
||||
|
||||
If we don't know, return 4096 (i.e., "too far".) */
|
||||
|
||||
int
|
||||
compute_last_arg_offset ()
|
||||
{
|
||||
if (GET_CODE (current_function_arg_offset_rtx) == CONST_INT)
|
||||
return (compute_frame_size (get_frame_size (), 1)
|
||||
+ INTVAL (current_function_arg_offset_rtx));
|
||||
return 4096;
|
||||
}
|
||||
|
||||
/* Output code for the function prologue. */
|
||||
|
||||
void
|
||||
|
@ -329,12 +329,9 @@ extern int hard_regno_mode_ok[FIRST_PSEUDO_REGISTER];
|
||||
|
||||
Used in flow.c, global-alloc.c, and reload1.c. */
|
||||
extern int leaf_function;
|
||||
extern int compute_last_arg_offset ();
|
||||
|
||||
/* Return 0 if span from stack ptr to last stack arg is too far. */
|
||||
#define FRAME_POINTER_REQUIRED \
|
||||
(! (leaf_function_p () && only_leaf_regs_used () \
|
||||
&& compute_last_arg_offset () < 4090))
|
||||
(! (leaf_function_p () && only_leaf_regs_used ()))
|
||||
|
||||
/* C statement to store the difference between the frame pointer
|
||||
and the stack pointer values immediately after the function prologue.
|
||||
|
Loading…
Reference in New Issue
Block a user