diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-08-28 20:51:33 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-08-28 20:51:33 +0000 |
commit | c5241a21a366ef5d9dc1dce486af5423e484a630 (patch) | |
tree | 997fcf60c95c1b890af53a0f5892e76e2db20710 /gcc/rtlanal.c | |
parent | 9321cf00db4930103c0e473e82f12135404c22ba (diff) | |
download | gcc-c5241a21a366ef5d9dc1dce486af5423e484a630.zip gcc-c5241a21a366ef5d9dc1dce486af5423e484a630.tar.gz gcc-c5241a21a366ef5d9dc1dce486af5423e484a630.tar.bz2 |
tablejump_p takes an rtx_insn
gcc/
2014-08-28 David Malcolm <dmalcolm@redhat.com>
* rtl.h (tablejump_p): Strengthen first param from const_rtx to
const rtx_insn *.
(label_is_jump_target_p): Likewise for second param.
* rtlanal.c (tablejump_p): Likewise for param "insn".
(label_is_jump_target_p): Likewise for param "jump_insn".
From-SVN: r214696
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r-- | gcc/rtlanal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 76c4bf0..739f134 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -2862,7 +2862,7 @@ rtx_referenced_p (const_rtx x, const_rtx body) *LABELP and the jump table to *TABLEP. LABELP and TABLEP may be NULL. */ bool -tablejump_p (const_rtx insn, rtx *labelp, rtx_jump_table_data **tablep) +tablejump_p (const rtx_insn *insn, rtx *labelp, rtx_jump_table_data **tablep) { rtx label, table; @@ -3833,7 +3833,7 @@ keep_with_call_p (const_rtx insn) not apply to the fallthru case of a conditional jump. */ bool -label_is_jump_target_p (const_rtx label, const_rtx jump_insn) +label_is_jump_target_p (const_rtx label, const rtx_insn *jump_insn) { rtx tmp = JUMP_LABEL (jump_insn); rtx_jump_table_data *table; |