Use rtx_insn in more places in fwprop.c
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 26 Aug 2014 19:35:51 +0000 (19:35 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Tue, 26 Aug 2014 19:35:51 +0000 (19:35 +0000)
gcc/
2014-08-26  David Malcolm  <dmalcolm@redhat.com>

* fwprop.c (local_ref_killed_between_p): Strengthen params "from",
"to" and local "insn" from rtx to rtx_insn *.

From-SVN: r214541

gcc/ChangeLog
gcc/fwprop.c

index ff88b750fc540aececcca6be277fd9f015a08258..3bfc551606b094cb516931ec6babaf4d049fa9c9 100644 (file)
@@ -1,3 +1,8 @@
+2014-08-26  David Malcolm  <dmalcolm@redhat.com>
+
+       * fwprop.c (local_ref_killed_between_p): Strengthen params "from",
+       "to" and local "insn" from rtx to rtx_insn *.
+
 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
 
        * sel-sched.c (find_place_for_bookkeeping): Strengthen local "insn"
index a7fee9d446f457628563157c19923775fde7b8cc..e9ee25e1c87c758acec2494c4e9e847de23e3ced 100644 (file)
@@ -692,9 +692,9 @@ propagate_rtx (rtx x, enum machine_mode mode, rtx old_rtx, rtx new_rtx,
    between FROM to (but not including) TO.  */
 
 static bool
-local_ref_killed_between_p (df_ref ref, rtx from, rtx to)
+local_ref_killed_between_p (df_ref ref, rtx_insn *from, rtx_insn *to)
 {
-  rtx insn;
+  rtx_insn *insn;
 
   for (insn = from; insn != to; insn = NEXT_INSN (insn))
     {