diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-22 21:42:53 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-22 21:42:53 +0000 |
commit | 1ed225539b876c4f7a465dab5f5c923748e7ea99 (patch) | |
tree | 7988d96165c99a8ac9cdc9cee33daf6cc0db39d1 /gcc/shrink-wrap.h | |
parent | 04d073df0c012b1bc8df593de346d902e9d622c5 (diff) | |
download | gcc-1ed225539b876c4f7a465dab5f5c923748e7ea99.tar.gz |
shrink-wrap.*: Use rtx_insn (touches config/i386/i386.c)
gcc/
2014-08-22 David Malcolm <dmalcolm@redhat.com>
* shrink-wrap.h (requires_stack_frame_p): Strengthen param 1
"insn" from rtx to rtx_insn *.
(dup_block_and_redirect): Likewise for param 3 "before".
* shrink-wrap.c (requires_stack_frame_p): Strengthen param "insn"
from rtx to rtx_insn *.
(move_insn_for_shrink_wrap): Likewise.
(prepare_shrink_wrap): Likewise for locals "insn", "curr".
(dup_block_and_redirect): Likewise for param "before" and local
"insn".
(try_shrink_wrapping): Likewise for locals "insn", "insert_point",
"end".
(convert_to_simple_return): Likewise for local "start".
* config/i386/i386.c (ix86_finalize_stack_realign_flags):
Strengthen local "insn" from rtx to rtx_insn *, for use when
invoking requires_stack_frame_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214381 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/shrink-wrap.h')
-rw-r--r-- | gcc/shrink-wrap.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/shrink-wrap.h b/gcc/shrink-wrap.h index bccfb31aad3..5576d367b8e 100644 --- a/gcc/shrink-wrap.h +++ b/gcc/shrink-wrap.h @@ -34,10 +34,11 @@ extern basic_block emit_return_for_exit (edge exit_fallthru_edge, bool simple_p); /* In shrink-wrap.c. */ -extern bool requires_stack_frame_p (rtx, HARD_REG_SET, HARD_REG_SET); +extern bool requires_stack_frame_p (rtx_insn *, HARD_REG_SET, HARD_REG_SET); extern void prepare_shrink_wrap (basic_block entry_block); extern void dup_block_and_redirect (basic_block bb, basic_block copy_bb, - rtx before, bitmap_head *need_prologue); + rtx_insn *before, + bitmap_head *need_prologue); extern void try_shrink_wrapping (edge *entry_edge, edge orig_entry_edge, bitmap_head *bb_flags, rtx prologue_seq); extern edge get_unconverted_simple_return (edge, bitmap_head, |