From 63bd63246e5b09164625828a6ac0c7967d932bc6 Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Sat, 9 May 2015 04:15:57 +0000 Subject: [PATCH] computed_jump_p takes a rtx_insn * gcc/ChangeLog: 2015-05-08 Trevor Saunders * rtlanal.c (computed_jump_p): Cange argument type to rtx_insn *. * rtl.h: Adjust. From-SVN: r222939 --- gcc/ChangeLog | 5 +++++ gcc/rtl.h | 2 +- gcc/rtlanal.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 94783f8091f..632a28381c2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-05-08 Trevor Saunders + + * rtlanal.c (computed_jump_p): Cange argument type to rtx_insn *. + * rtl.h: Adjust. + 2015-05-08 Trevor Saunders * rtlanal.c (in_insn_list_p): Renamed from in_expr_list_p. diff --git a/gcc/rtl.h b/gcc/rtl.h index 6b01dd7c146..2795d5ac474 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -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. */ diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index b5310103f1f..8c9b01d19ac 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -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)) -- 2.30.2