diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2015-09-10 19:19:27 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2015-09-10 12:19:27 -0700 |
commit | 2eba0ed5f6359cd0fe3e71536860a14617b64360 (patch) | |
tree | 6ec24f5d0e60cdf1f6437efebc5aa82e72f44111 /gcc | |
parent | 4711983f43bd4f40e5b58f288afcd3ad844e241b (diff) | |
download | gcc-2eba0ed5f6359cd0fe3e71536860a14617b64360.zip gcc-2eba0ed5f6359cd0fe3e71536860a14617b64360.tar.gz gcc-2eba0ed5f6359cd0fe3e71536860a14617b64360.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/shrink-wrap.c | 2 | ||||
-rw-r--r-- | gcc/shrink-wrap.h | 1 |
3 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a9a6fbd..d47b146 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/shrink-wrap.c b/gcc/shrink-wrap.c index 0ece4cf..d10795a 100644 --- a/gcc/shrink-wrap.c +++ b/gcc/shrink-wrap.c @@ -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) { diff --git a/gcc/shrink-wrap.h b/gcc/shrink-wrap.h index efc8370..6819901 100644 --- a/gcc/shrink-wrap.h +++ b/gcc/shrink-wrap.h @@ -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, |