computed_jump_p takes a rtx_insn *

gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* rtlanal.c (computed_jump_p): Cange argument type to rtx_insn *.
	* rtl.h: Adjust.

From-SVN: r222939
This commit is contained in:
Trevor Saunders 2015-05-09 04:15:57 +00:00 committed by Trevor Saunders
parent 0d53e74ecf
commit 63bd63246e
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* rtlanal.c (computed_jump_p): Cange argument type to rtx_insn *.
* rtl.h: Adjust.
2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* rtlanal.c (in_insn_list_p): Renamed from in_expr_list_p.

View File

@ -2890,7 +2890,7 @@ extern void replace_label (rtx *, rtx, rtx, bool);
extern void replace_label_in_insn (rtx_insn *, rtx, rtx, bool);
extern bool rtx_referenced_p (const_rtx, const_rtx);
extern bool tablejump_p (const rtx_insn *, rtx *, rtx_jump_table_data **);
extern int computed_jump_p (const_rtx);
extern int computed_jump_p (const rtx_insn *);
extern bool tls_referenced_p (const_rtx);
/* Overload for refers_to_regno_p for checking a single register. */

View File

@ -2990,7 +2990,7 @@ computed_jump_p_1 (const_rtx x)
we can recognize them by a (use (label_ref)). */
int
computed_jump_p (const_rtx insn)
computed_jump_p (const rtx_insn *insn)
{
int i;
if (JUMP_P (insn))