diff options
author | Segher Boessenkool <segher@gcc.gnu.org> | 2015-09-10 19:25:35 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2015-09-10 19:25:35 +0200 |
commit | 8b661145105bf5d8d7be3f2e57b51c8b8d2c27b7 (patch) | |
tree | 048e10e7a57bad4b38f152c6ac056ab2810de4cc /gcc/shrink-wrap.c | |
parent | 3108836938c10cc746fe2118e8108e843039a2c7 (diff) | |
download | gcc-8b661145105bf5d8d7be3f2e57b51c8b8d2c27b7.zip gcc-8b661145105bf5d8d7be3f2e57b51c8b8d2c27b7.tar.gz gcc-8b661145105bf5d8d7be3f2e57b51c8b8d2c27b7.tar.bz2 |
shrink-wrap: Header hygiene
2015-09-10 Segher Boessenkool <segher@kernel.crashing.org>
* shrink-wrap.c (requires_stack_frame_p): Make static.
(prepare_shrink_wrap): Likewise.
(dup_block_and_redirect): Likewise.
* shrink-wrap.h: Remove declarations of those functions.
From-SVN: r227652
Diffstat (limited to 'gcc/shrink-wrap.c')
-rw-r--r-- | gcc/shrink-wrap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/shrink-wrap.c b/gcc/shrink-wrap.c index c90c40a..0ece4cf 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. */ -bool +static bool requires_stack_frame_p (rtx_insn *insn, HARD_REG_SET prologue_used, HARD_REG_SET set_up_by_prologue) { @@ -420,7 +420,7 @@ move_insn_for_shrink_wrap (basic_block bb, rtx_insn *insn, to call-saved registers because their values are live across one or more calls during the function. */ -void +static void prepare_shrink_wrap (basic_block entry_block) { rtx_insn *insn, *curr; @@ -465,7 +465,7 @@ prepare_shrink_wrap (basic_block entry_block) /* Create a copy of BB instructions and insert at BEFORE. Redirect preds of BB to COPY_BB if they don't appear in NEED_PROLOGUE. */ -void +static void dup_block_and_redirect (basic_block bb, basic_block copy_bb, rtx_insn *before, bitmap_head *need_prologue) { |