[10/13] make fp_setter_insn take a rtx_insn *
diff mbox

Message ID 1430600503-14069-11-git-send-email-tbsaunde+gcc@tbsaunde.org
State New
Headers show

Commit Message

tbsaunde+gcc@tbsaunde.org May 2, 2015, 9:01 p.m. UTC
From: Trevor Saunders <tbsaunde+gcc@tbsaunde.org>

gcc/ChangeLog:

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

	* cselib.c (fp_setter_insn): Take a rtx_insn *.
	* cselib.h (fp_setter_insn): Adjust.
---
 gcc/ChangeLog | 5 +++++
 gcc/cselib.c  | 2 +-
 gcc/cselib.h  | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

Patch
diff mbox

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6f9e6c1..d3e23bd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@ 
 2015-05-02  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
 
+	* cselib.c (fp_setter_insn): Take a rtx_insn *.
+	* cselib.h (fp_setter_insn): Adjust.
+
+2015-05-02  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
+
 	* recog.c (struct validate_replace_src_data): Change type of
 	insn field to rtx_insn *.
 	(validate_replace_src_group): Change type of argument to rtx_insn *.
diff --git a/gcc/cselib.c b/gcc/cselib.c
index 5256a6e..f4b2580 100644
--- a/gcc/cselib.c
+++ b/gcc/cselib.c
@@ -2618,7 +2618,7 @@  cselib_record_sets (rtx_insn *insn)
 /* Return true if INSN in the prologue initializes hard_frame_pointer_rtx.  */
 
 bool
-fp_setter_insn (rtx insn)
+fp_setter_insn (rtx_insn *insn)
 {
   rtx expr, pat = NULL_RTX;
 
diff --git a/gcc/cselib.h b/gcc/cselib.h
index c20f85f..082bf54 100644
--- a/gcc/cselib.h
+++ b/gcc/cselib.h
@@ -79,7 +79,7 @@  extern void cselib_init (int);
 extern void cselib_clear_table (void);
 extern void cselib_finish (void);
 extern void cselib_process_insn (rtx_insn *);
-extern bool fp_setter_insn (rtx);
+extern bool fp_setter_insn (rtx_insn *);
 extern machine_mode cselib_reg_set_mode (const_rtx);
 extern int rtx_equal_for_cselib_p (rtx, rtx);
 extern int references_value_p (const_rtx, int);