aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2011-11-09 22:28:57 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2011-11-09 22:28:57 +0100
commit0ff0609d035ffb794449e33ed8e13d2018bc3bce (patch)
tree2a5c62e5d8fd156f9d6fd45cbb723e18253aa233 /gcc/function.c
parent5ed56cbbee96b41fa9ef743c48245096d84205b7 (diff)
downloadgcc-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.c')
-rw-r--r--gcc/function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 0cbbbc5..0ee69ef 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -5284,7 +5284,7 @@ prologue_epilogue_contains (const_rtx insn)
PROLOGUE_USED contains the hard registers used in the function
prologue. SET_UP_BY_PROLOGUE is the set of registers we expect the
prologue to set up for the function. */
-static bool
+bool
requires_stack_frame_p (rtx insn, HARD_REG_SET prologue_used,
HARD_REG_SET set_up_by_prologue)
{