Commit 40a243d4 by David Malcolm Committed by David Malcolm

Use rtx_insn in more places in haifa-sched.c

gcc/
2014-08-26  David Malcolm  <dmalcolm@redhat.com>

	* haifa-sched.c (struct model_insn_info): Strengthen field "insn"
	from rtx to rtx_insn *.
	(model_add_to_schedule): Likewise for locals "start", "end",
	"iter".

From-SVN: r214545
parent 5d34b050
2014-08-26 David Malcolm <dmalcolm@redhat.com>
* haifa-sched.c (struct model_insn_info): Strengthen field "insn"
from rtx to rtx_insn *.
(model_add_to_schedule): Likewise for locals "start", "end",
"iter".
2014-08-26 David Malcolm <dmalcolm@redhat.com>
* rtl.h (duplicate_insn_chain): Strengthen both params from rtx to
rtx_insn *.
* cfgrtl.c (duplicate_insn_chain): Likewise for params "from",
......
......@@ -1815,7 +1815,7 @@ struct model_pressure_data {
than the main schedule. */
struct model_insn_info {
/* The instruction itself. */
rtx insn;
rtx_insn *insn;
/* If this instruction is in model_worklist, these fields link to the
previous (higher-priority) and next (lower-priority) instructions
......@@ -3351,7 +3351,7 @@ model_add_to_schedule (rtx insn)
static void
model_analyze_insns (void)
{
rtx start, end, iter;
rtx_insn *start, *end, *iter;
sd_iterator_def sd_it;
dep_t dep;
struct model_insn_info *insn, *con;
......
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