*** empty log message ***
authorJim Wilson <wilson@gcc.gnu.org>
Wed, 8 Apr 1992 04:11:30 +0000 (21:11 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 8 Apr 1992 04:11:30 +0000 (21:11 -0700)
From-SVN: r705

gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.h

index 6584320f8c32cac00d7f5b32396240730d3f356f..3b5b9c2497008e36acfe60b918b84735b7d19858 100644 (file)
@@ -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
index c51024015d2337f95a0279884bb79d2e247d25dd..42e6520e4219d803fa4ba06aa12a6ccc6b4fee53 100644 (file)
@@ -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.