diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-08-25 20:27:46 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-08-25 20:27:46 +0000 |
commit | 9c8348cf6b1fdd8566b5dc15c9e0fad0b4e8c599 (patch) | |
tree | 3c5a4aa90c738acd6a310314e1700b29d4261e46 /gcc/function.c | |
parent | 3ffa95c25f3f98adb2a5cdb7419a5ffa1e7bc753 (diff) | |
download | gcc-9c8348cf6b1fdd8566b5dc15c9e0fad0b4e8c599.zip gcc-9c8348cf6b1fdd8566b5dc15c9e0fad0b4e8c599.tar.gz gcc-9c8348cf6b1fdd8566b5dc15c9e0fad0b4e8c599.tar.bz2 |
function.c and shrink-wrap.*: more rtx_insn
gcc/
* function.c (thread_prologue_and_epilogue_insns): Likewise for
locals "returnjump", "epilogue_end", "insn", "next".
* shrink-wrap.h (get_unconverted_simple_return): Strengthen param
"returnjump" from rtx * to rtx_insn **.
* shrink-wrap.c (get_unconverted_simple_return): Likewise.
From-SVN: r214472
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/function.c b/gcc/function.c index 4e43471..25f1519 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -5613,8 +5613,9 @@ thread_prologue_and_epilogue_insns (void) vec<edge> unconverted_simple_returns = vNULL; bitmap_head bb_flags; #endif - rtx returnjump; - rtx seq ATTRIBUTE_UNUSED, epilogue_end ATTRIBUTE_UNUSED; + rtx_insn *returnjump; + rtx seq ATTRIBUTE_UNUSED; + rtx_insn *epilogue_end ATTRIBUTE_UNUSED; rtx prologue_seq ATTRIBUTE_UNUSED, split_prologue_seq ATTRIBUTE_UNUSED; edge e, entry_edge, orig_entry_edge, exit_fallthru_edge; edge_iterator ei; @@ -5625,8 +5626,8 @@ thread_prologue_and_epilogue_insns (void) inserted = false; seq = NULL_RTX; - epilogue_end = NULL_RTX; - returnjump = NULL_RTX; + epilogue_end = NULL; + returnjump = NULL; /* Can't deal with multiple successors of the entry block at the moment. Function should always have at least one entry @@ -5916,7 +5917,7 @@ epilogue_done: #ifdef HAVE_epilogue if (epilogue_end) { - rtx insn, next; + rtx_insn *insn, *next; /* Similarly, move any line notes that appear after the epilogue. There is no need, however, to be quite so anal about the existence |