diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-11-09 22:28:57 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-11-09 22:28:57 +0100 |
commit | 0ff0609d035ffb794449e33ed8e13d2018bc3bce (patch) | |
tree | 2a5c62e5d8fd156f9d6fd45cbb723e18253aa233 /gcc/function.h | |
parent | 5ed56cbbee96b41fa9ef743c48245096d84205b7 (diff) | |
download | gcc-0ff0609d035ffb794449e33ed8e13d2018bc3bce.zip gcc-0ff0609d035ffb794449e33ed8e13d2018bc3bce.tar.gz gcc-0ff0609d035ffb794449e33ed8e13d2018bc3bce.tar.bz2 |
function.h (requires_stack_frame_p): New prototype.
* function.h (requires_stack_frame_p): New prototype.
* function.c (requires_stack_frame_p): No longer static.
* config/i386/i386.c (ix86_finalize_stack_realign_flags): If
stack_realign_fp was just a conservative guess for a function
which doesn't use sp/fp/argp at all, clear frame_pointer_needed
and stack realignment.
From-SVN: r181236
Diffstat (limited to 'gcc/function.h')
-rw-r--r-- | gcc/function.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h index 42e52ac..ce67add 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -753,6 +753,10 @@ extern void used_types_insert (tree); extern int get_next_funcdef_no (void); extern int get_last_funcdef_no (void); +#ifdef HAVE_simple_return +extern bool requires_stack_frame_p (rtx, HARD_REG_SET, HARD_REG_SET); +#endif + /* In predict.c */ extern bool optimize_function_for_size_p (struct function *); extern bool optimize_function_for_speed_p (struct function *); |