diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-29 00:17:58 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-29 00:17:58 +0000 |
commit | 50895eabde00ebd450a889bc1730b35be24bc7c5 (patch) | |
tree | a5044f0cbe3f1c8ba3bef4f198432e6eede0c76a /gcc/rtl.h | |
parent | 7a22448e67bf1834ee48bb3098c539c80b75aab2 (diff) | |
download | gcc-50895eabde00ebd450a889bc1730b35be24bc7c5.tar.gz |
Make next_insn and previous_insn require an rtx_insn *
gcc/
2014-08-28 David Malcolm <dmalcolm@redhat.com>
* rtl.h (previous_insn): Strengthen param from rtx to rtx_insn *.
(next_insn): Likewise.
* emit-rtl.c (next_insn): Likewise.
(previous_insn): Likewise.
* config/pa/pa.c (remove_useless_addtr_insns): Strenghten locals
"insn" and "next" from rtx to rtx_insn *.
* config/picochip/picochip.c (picochip_reorg): Likewise for locals
"insn", "insn1", "vliw_start", "prologue_end_note",
"last_insn_in_packet".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214708 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h index 1bfb5bc7032..beeed2f9a1e 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2620,8 +2620,8 @@ extern rtx_insn *emit_use (rtx); extern rtx_insn *make_insn_raw (rtx); extern void add_function_usage_to (rtx, rtx); extern rtx_call_insn *last_call_insn (void); -extern rtx_insn *previous_insn (rtx); -extern rtx_insn *next_insn (rtx); +extern rtx_insn *previous_insn (rtx_insn *); +extern rtx_insn *next_insn (rtx_insn *); extern rtx_insn *prev_nonnote_insn (rtx); extern rtx_insn *prev_nonnote_insn_bb (rtx); extern rtx_insn *next_nonnote_insn (rtx); |