aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2011-11-09 21:28:57 +0000
committerJakub Jelinek <jakub@redhat.com>2011-11-09 21:28:57 +0000
commite45af5bfd020a1446f6e3b13f2520c2b4bdddf62 (patch)
tree2a5c62e5d8fd156f9d6fd45cbb723e18253aa233 /gcc/function.c
parent8d1a9cf2c8eb6f15afa17891c39ff79d1a34a2a3 (diff)
* 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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@181236 138bc75d-0d04-0410-961f-82ee72b054a4
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 0cbbbc5e404..0ee69ef22b6 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)
{