aboutsummaryrefslogtreecommitdiff
path: root/gcc/ira.h
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-09-09 15:10:39 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-09-09 15:10:39 +0000
commit0cc97fc5522a17788b0d47550f37d592ffca56ff (patch)
tree9fc7a0c191becf6398b01c789e1d25eaa063ba97 /gcc/ira.h
parentfcad3635f9cc635ebdd1f5b7ae2cd1586ac4511c (diff)
downloadgcc-0cc97fc5522a17788b0d47550f37d592ffca56ff.zip
gcc-0cc97fc5522a17788b0d47550f37d592ffca56ff.tar.gz
gcc-0cc97fc5522a17788b0d47550f37d592ffca56ff.tar.bz2
struct ira_reg_equiv_s's "init_insns" is an rtx_insn_list
gcc/ChangeLog: 2014-09-09 David Malcolm <dmalcolm@redhat.com> * ira.c (ira_update_equiv_info_by_shuffle_insn): Use NULL rather than NULL_RTX. (no_equiv): Likewise. (update_equiv_regs): Likewise. (setup_reg_equiv): Likewise. Strengthen locals "elem", "prev_elem", "next_elem" from rtx to rtx_insn_list *, and "insn" from rtx to rtx_insn *. Use methods of "elem" for typesafety and clarity. * ira.h (struct ira_reg_equiv_s): Strengthen field "init_insns" from rtx to rtx_insn_list *. * lra-assigns.c (spill_for): Strengthen local "x" from rtx to rtx_insn_list * and use methods for clarity and typesafety. * lra-constraints.c (contains_deleted_insn_p): Likewise for param "list". (init_insn_rhs_dead_pseudo_p): Likewise for local "insns". Remove redundant check on INSN_P (insns): this cannot hold, as "insns" is an INSN_LIST, not an insn. (reverse_equiv_p): Strengthen local "insns" from rtx to rtx_insn_list * and use methods for clarity and typesafety. (contains_reloaded_insn_p): Likewise for local "list". From-SVN: r215082
Diffstat (limited to 'gcc/ira.h')
-rw-r--r--gcc/ira.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ira.h b/gcc/ira.h
index 138b763..66030d6f 100644
--- a/gcc/ira.h
+++ b/gcc/ira.h
@@ -166,7 +166,7 @@ struct ira_reg_equiv_s
rtx constant;
rtx invariant;
/* Always NULL_RTX if defined_p is false. */
- rtx init_insns;
+ rtx_insn_list *init_insns;
};
/* The length of the following array. */