diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1992-04-07 21:11:30 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1992-04-07 21:11:30 -0700 |
commit | a72cb8ec98afe1a6bfe488992d3ba69981f57640 (patch) | |
tree | 4e26c7dacc03328412aa11a30816eb990a255b67 /gcc | |
parent | c0dad767e2394e1023e1921cb5f1d4f04c3a3642 (diff) | |
download | gcc-a72cb8ec98afe1a6bfe488992d3ba69981f57640.zip gcc-a72cb8ec98afe1a6bfe488992d3ba69981f57640.tar.gz gcc-a72cb8ec98afe1a6bfe488992d3ba69981f57640.tar.bz2 |
*** empty log message ***
From-SVN: r705
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/sparc/sparc.c | 14 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.h | 5 |
2 files changed, 1 insertions, 18 deletions
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 6584320..3b5b9c2 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -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 diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index c510240..42e6520 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -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. |