* shrink-wrap.c (requires_stack_frame_p): Remove static.
* shrink-wrap.h (requires_stack_frame_p): Put back.
From-SVN: r227659
+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
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)
{
#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,