Commit 51c7dd98 by David Malcolm Committed by David Malcolm

Use rtx_insn in more places in fwprop.c

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
parent 5a59b408
2014-08-26 David Malcolm <dmalcolm@redhat.com> 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" * sel-sched.c (find_place_for_bookkeeping): Strengthen local "insn"
from rtx to rtx_insn *. from rtx to rtx_insn *.
(need_nop_to_preserve_insn_bb): Likewise for param "insn". (need_nop_to_preserve_insn_bb): Likewise for param "insn".
......
...@@ -692,9 +692,9 @@ propagate_rtx (rtx x, enum machine_mode mode, rtx old_rtx, rtx new_rtx, ...@@ -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. */ between FROM to (but not including) TO. */
static bool 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)) for (insn = from; insn != to; insn = NEXT_INSN (insn))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment