[PATCH 2/2] make dead_debug_insert_temp take an rtx_insn *

tsaunders@mozilla.com tsaunders@mozilla.com
Fri Sep 5 02:30:00 GMT 2014


From: Trevor Saunders <tsaunders@mozilla.com>

just changing argument type so pre approved.

bootstrap + regtested on x86_64-linux-gnu.
Trev

gcc/ChangeLog:

2014-09-04  Trevor Saunders  <tsaunders@mozilla.com>

	* valtrack.c (dead_debug_insert_temp): Take an rtx_insn * instead of
	an rtx.
	* valtrack.h: Adjust.
---
 gcc/ChangeLog  | 6 ++++++
 gcc/valtrack.c | 2 +-
 gcc/valtrack.h | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0a5252a..9fedacc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
 2014-09-04  Trevor Saunders  <tsaunders@mozilla.com>
 
+	* valtrack.c (dead_debug_insert_temp): Take an rtx_insn * instead of
+	an rtx.
+	* valtrack.h: Adjust.
+
+2014-09-04  Trevor Saunders  <tsaunders@mozilla.com>
+
 	* emit-rtl.c (emit_insn_before_noloc): Take an rtx_insn * instead of
 	an rtx.
 	(emit_jump_insn_before_noloc): Likewise.
diff --git a/gcc/valtrack.c b/gcc/valtrack.c
index 66d0d8a..a3d00e2 100644
--- a/gcc/valtrack.c
+++ b/gcc/valtrack.c
@@ -536,7 +536,7 @@ dead_debug_add (struct dead_debug_local *debug, df_ref use, unsigned int uregno)
 
 int
 dead_debug_insert_temp (struct dead_debug_local *debug, unsigned int uregno,
-			rtx insn, enum debug_temp_where where)
+			rtx_insn *insn, enum debug_temp_where where)
 {
   struct dead_debug_use **tailp = &debug->head;
   struct dead_debug_use *cur;
diff --git a/gcc/valtrack.h b/gcc/valtrack.h
index d8b8bb8..f691c67 100644
--- a/gcc/valtrack.h
+++ b/gcc/valtrack.h
@@ -146,7 +146,7 @@ extern void dead_debug_local_init (struct dead_debug_local *, bitmap,
 extern void dead_debug_local_finish (struct dead_debug_local *, bitmap);
 extern void dead_debug_add (struct dead_debug_local *, df_ref, unsigned int);
 extern int dead_debug_insert_temp (struct dead_debug_local *,
-				   unsigned int uregno, rtx insn,
+				   unsigned int uregno, rtx_insn *insn,
 				   enum debug_temp_where);
 
 extern void propagate_for_debug (rtx_insn *, rtx_insn *, rtx, rtx, basic_block);
-- 
2.1.0



More information about the Gcc-patches mailing list