diff options
author | Jeff Law <law@gcc.gnu.org> | 1993-01-03 12:06:42 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1993-01-03 12:06:42 -0700 |
commit | 86daf4a655b3394385c6cf972939baf0aa021e8d (patch) | |
tree | a83972c9eaac2bd29a0a819c68cc173cb80f3163 | |
parent | 2b41935c9ecbe7b4d65803be890dd255789901f0 (diff) | |
download | gcc-86daf4a655b3394385c6cf972939baf0aa021e8d.zip gcc-86daf4a655b3394385c6cf972939baf0aa021e8d.tar.gz gcc-86daf4a655b3394385c6cf972939baf0aa021e8d.tar.bz2 |
pa.h (INITIAL_FRAME_POINTER_OFFSET): compute_frame_size () now does the whole calculation, including rounding.
* pa.h (INITIAL_FRAME_POINTER_OFFSET): compute_frame_size ()
now does the whole calculation, including rounding.
(FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Don't pass leaf_function
to output_function_{prologue,epilogue}.
(DELAY_SLOTS_FOR_EPILOGUE): Call hppa_epilogue_delay_slots ().
From-SVN: r3073
-rw-r--r-- | gcc/config/pa/pa.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index 0b96bd0..ee6745e 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -428,8 +428,7 @@ extern int leaf_function; it's not, there's no point in trying to eliminate the frame pointer. If it is a leaf function, we guessed right! */ #define INITIAL_FRAME_POINTER_OFFSET(VAR) \ - do { int __fsize = compute_frame_size (get_frame_size (), 1, 0) + 32; \ - (VAR) = -(TARGET_SNAKE ? (__fsize + 63) & ~63 : __fsize); } while (0) + do {(VAR) = - compute_frame_size (get_frame_size (), 0);} while (0) /* Base register for access to arguments of the function. */ #define ARG_POINTER_REGNUM 4 @@ -891,7 +890,7 @@ extern int apparent_fsize; to do this is made in regclass.c. */ #define FUNCTION_PROLOGUE(FILE, SIZE) \ - output_function_prologue (FILE, SIZE, leaf_function) + output_function_prologue (FILE, SIZE) /* Output assembler code to FILE to increment profiler label # LABELNO for profiling a function entry. @@ -933,8 +932,9 @@ extern int current_function_pretend_args_size; extern union tree_node *current_function_decl; #define FUNCTION_EPILOGUE(FILE, SIZE) \ - output_function_epilogue (FILE, SIZE, leaf_function) -#define DELAY_SLOTS_FOR_EPILOGUE 1 + output_function_epilogue (FILE, SIZE) +#define DELAY_SLOTS_FOR_EPILOGUE hppa_epilogue_delay_slots () + #define ELIGIBLE_FOR_EPILOGUE_DELAY(trial, slots_filled) \ eligible_for_epilogue_delay (trial, slots_filled) |