Put back requires_stack_frame_p used by i386.c

* shrink-wrap.c (requires_stack_frame_p): Remove static.
	* shrink-wrap.h (requires_stack_frame_p): Put back.

From-SVN: r227659
This commit is contained in:
H.J. Lu 2015-09-10 19:19:27 +00:00 committed by H.J. Lu
parent 4711983f43
commit 2eba0ed5f6
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-09-10 H.J. Lu <hongjiu.lu@intel.com>
* shrink-wrap.c (requires_stack_frame_p): Remove static.
* shrink-wrap.h (requires_stack_frame_p): Put back.
2015-09-10 Richard Sandiford <richard.sandiford@arm.com>
* reload1.c (elimination_costs_in_insn): Locally turn

View File

@ -68,7 +68,7 @@ along with GCC; see the file COPYING3. If not see
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 *insn, HARD_REG_SET prologue_used,
HARD_REG_SET set_up_by_prologue)
{

View File

@ -23,6 +23,7 @@ along with GCC; see the file COPYING3. If not see
#include "function.h"
/* In shrink-wrap.c. */
extern bool requires_stack_frame_p (rtx_insn *, HARD_REG_SET, HARD_REG_SET);
extern void try_shrink_wrapping (edge *entry_edge, edge orig_entry_edge,
bitmap_head *bb_flags, rtx_insn *prologue_seq);
extern edge get_unconverted_simple_return (edge, bitmap_head,