aboutsummaryrefslogtreecommitdiff
path: root/gcc/haifa-sched.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-08-26 19:52:49 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-08-26 19:52:49 +0000
commit40a243d452c913fd0ac58ad39968d7993689967b (patch)
treebdce7f60f7f815372bc0ef4c80f35602b3d417cf /gcc/haifa-sched.c
parent5d34b05026b5af531e8cecc4bc70a76a0d23093d (diff)
downloadgcc-40a243d452c913fd0ac58ad39968d7993689967b.zip
gcc-40a243d452c913fd0ac58ad39968d7993689967b.tar.gz
gcc-40a243d452c913fd0ac58ad39968d7993689967b.tar.bz2
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
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r--gcc/haifa-sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index 54691a3..d9f3d79 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;