[05/25] computed_jump_p takes a rtx_insn *
diff mbox

Message ID 1431144504-23213-6-git-send-email-tbsaunde+gcc@tbsaunde.org
State New
Headers show

Commit Message

tbsaunde+gcc@tbsaunde.org May 9, 2015, 4:08 a.m. UTC
From: Trevor Saunders <tbsaunde+gcc@tbsaunde.org>

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.
---
 gcc/ChangeLog | 5 +++++
 gcc/rtl.h     | 2 +-
 gcc/rtlanal.c | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

Patch
diff mbox

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 94783f8..632a283 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@ 
 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.
 	* cfgrtl.c (can_delete_label_p): Adjust.
 	* rtl.h: likewise.
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 6b01dd7..2795d5a 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 b531010..8c9b01d 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))