diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-22 20:09:21 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-22 20:09:21 +0000 |
commit | bafb03a0b1e26c88816baf4f4d9f8ef1a86ecf68 (patch) | |
tree | fe77b14d1454712b85d94217495d8298d66a6747 /gcc/recog.c | |
parent | 831e913e4e779d0a3d7832ef67d85e551ca84d89 (diff) | |
download | gcc-bafb03a0b1e26c88816baf4f4d9f8ef1a86ecf68.tar.gz |
recog.c: Use rtx_insn
gcc/
* recog.c (split_insn): Strengthen param "insn" and locals
"first", "last" from rtx to rtx_insn *.
(split_all_insns): Likewise for locals "insn", "next".
(split_all_insns_noflow): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214363 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/recog.c')
-rw-r--r-- | gcc/recog.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/recog.c b/gcc/recog.c index 167b044a3ae..cef60f1d751 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -59,7 +59,7 @@ along with GCC; see the file COPYING3. If not see static void validate_replace_rtx_1 (rtx *, rtx, rtx, rtx, bool); static void validate_replace_src_1 (rtx *, void *); -static rtx split_insn (rtx); +static rtx split_insn (rtx_insn *); struct target_recog default_target_recog; #if SWITCHABLE_TARGET @@ -2772,11 +2772,11 @@ reg_fits_class_p (const_rtx operand, reg_class_t cl, int offset, or NULL if unsuccessful. */ static rtx -split_insn (rtx insn) +split_insn (rtx_insn *insn) { /* Split insns here to get max fine-grain parallelism. */ - rtx first = PREV_INSN (insn); - rtx last = try_split (PATTERN (insn), insn, 1); + rtx_insn *first = PREV_INSN (insn); + rtx_insn *last = try_split (PATTERN (insn), insn, 1); rtx insn_set, last_set, note; if (last == insn) @@ -2837,7 +2837,7 @@ split_all_insns (void) FOR_EACH_BB_REVERSE_FN (bb, cfun) { - rtx insn, next; + rtx_insn *insn, *next; bool finish = false; rtl_profile_for_bb (bb); @@ -2893,7 +2893,7 @@ split_all_insns (void) unsigned int split_all_insns_noflow (void) { - rtx next, insn; + rtx_insn *next, *insn; for (insn = get_insns (); insn; insn = next) { |