[02/13] df_set_note can take a rtx_insn *
diff mbox

Message ID 1430600503-14069-3-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>

	* df-problems.c (df_set_note): Change type of argument to
	rtx_insn *.
---
 gcc/ChangeLog     | 5 +++++
 gcc/df-problems.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

Patch
diff mbox

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b278655..5428a05 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@ 
 2015-05-02  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
 
+	* df-problems.c (df_set_note): Change type of argument to
+	rtx_insn *.
+
+2015-05-02  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
+
 	* builtins.c (expand_builtin_trap): Change type of local
 	variable to rtx_insn *.
 	(add_sched_insns_for_speculation): Likewise.
diff --git a/gcc/df-problems.c b/gcc/df-problems.c
index d3d06ee..b9584a8 100644
--- a/gcc/df-problems.c
+++ b/gcc/df-problems.c
@@ -2864,7 +2864,7 @@  df_remove_dead_eq_notes (rtx_insn *insn, bitmap live)
 /* Set a NOTE_TYPE note for REG in INSN.  */
 
 static inline void
-df_set_note (enum reg_note note_type, rtx insn, rtx reg)
+df_set_note (enum reg_note note_type, rtx_insn *insn, rtx reg)
 {
   gcc_checking_assert (!DEBUG_INSN_P (insn));
   add_reg_note (insn, note_type, reg);