From: David Malcolm Date: Tue, 26 Aug 2014 19:52:49 +0000 (+0000) Subject: Use rtx_insn in more places in haifa-sched.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=40a243d452c913fd0ac58ad39968d7993689967b;p=gcc.git Use rtx_insn in more places in haifa-sched.c gcc/ 2014-08-26 David Malcolm * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a1c7898db4c..68277111175 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2014-08-26 David Malcolm + + * 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 * rtl.h (duplicate_insn_chain): Strengthen both params from rtx to diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 54691a30db1..d9f3d79a003 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -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;