diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-09-05 14:04:46 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-09-05 14:04:46 +0000 |
commit | 7fa55ff675da902516b0e0624e8436b823122963 (patch) | |
tree | f511f0ad87a62f6b42667d2184981b61488818e9 /gcc/config/mips/mips.c | |
parent | 75677a6759750582b0aa92b3409d0061b4f66739 (diff) | |
download | gcc-7fa55ff675da902516b0e0624e8436b823122963.zip gcc-7fa55ff675da902516b0e0624e8436b823122963.tar.gz gcc-7fa55ff675da902516b0e0624e8436b823122963.tar.bz2 |
Drop uncast_insn from param 1 of final_scan_insn
gcc/ChangeLog
2014-09-05 David Malcolm <dmalcolm@redhat.com>
* output.h (final_scan_insn): Strengthen first param from rtx to
rtx_insn *.
* final.c (final_scan_insn): Likewise, renaming it back from
"uncast_insn" to "insn", eliminating the checked cast.
* config/h8300/h8300.md (define_insn "jump"): Replace local rtx
"vec" with an rtx_sequence * "seq", taking a copy of
"final_sequence", and using methods of "seq" for clarity, and for
type-safety in the calls to final_scan_insn.
* config/mips/mips.c (mips_output_conditional_branch): Use methods
of "final_sequence" for clarity, and for type-safety in the call to
final_scan_insn.
* config/sh/sh.c (print_slot): Strengthen param from rtx to
rtx_sequence * and rename from "insn" to "seq".
From-SVN: r214961
Diffstat (limited to 'gcc/config/mips/mips.c')
-rw-r--r-- | gcc/config/mips/mips.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 3e77491..f9713c1 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -12496,9 +12496,9 @@ mips_output_conditional_branch (rtx_insn *insn, rtx *operands, delay slot if is not annulled. */ if (!INSN_ANNULLED_BRANCH_P (insn)) { - final_scan_insn (XVECEXP (final_sequence, 0, 1), + final_scan_insn (final_sequence->insn (1), asm_out_file, optimize, 1, NULL); - INSN_DELETED_P (XVECEXP (final_sequence, 0, 1)) = 1; + INSN_DELETED_P (final_sequence->insn (1)) = 1; } else output_asm_insn ("nop", 0); @@ -12521,9 +12521,9 @@ mips_output_conditional_branch (rtx_insn *insn, rtx *operands, Use INSN's delay slot if is annulled. */ if (INSN_ANNULLED_BRANCH_P (insn)) { - final_scan_insn (XVECEXP (final_sequence, 0, 1), + final_scan_insn (final_sequence->insn (1), asm_out_file, optimize, 1, NULL); - INSN_DELETED_P (XVECEXP (final_sequence, 0, 1)) = 1; + INSN_DELETED_P (final_sequence->insn (1)) = 1; } else output_asm_insn ("nop", 0); |