diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-08-25 20:53:38 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-08-25 20:53:38 +0000 |
commit | 49922db8a0acde8f294b6f9feb2b5089978be501 (patch) | |
tree | dff6d5004cd08c45c64b6eafb092deb4b233db28 /gcc/final.c | |
parent | 0043f37de51b72ee20d630192ab81e650862f58d (diff) | |
download | gcc-49922db8a0acde8f294b6f9feb2b5089978be501.zip gcc-49922db8a0acde8f294b6f9feb2b5089978be501.tar.gz gcc-49922db8a0acde8f294b6f9feb2b5089978be501.tar.bz2 |
shorten_branches takes an rtx_insn
gcc/
* output.h (shorten_branches): Strengthen param from rtx to
rtx_insn *.
* final.c (shorten_branches): Likewise, renaming param back from
"uncast_first" to "first", and dropping the checked cast from rtx
to rtx_insn *.
* genattr.c (gen_attr): Likewise when writing out the prototype of
shorten_branches.
From-SVN: r214478
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/final.c b/gcc/final.c index 8cef83d..3176fbd 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -899,9 +899,8 @@ make_pass_compute_alignments (gcc::context *ctxt) slots. */ void -shorten_branches (rtx uncast_first) +shorten_branches (rtx_insn *first) { - rtx_insn *first = safe_as_a <rtx_insn *> (uncast_first); rtx_insn *insn; int max_uid; int i; |