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
This commit is contained in:
parent
5d34b05026
commit
40a243d452
@ -1,3 +1,10 @@
|
||||
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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user