diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-08-20 23:59:49 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-08-20 23:59:49 +0000 |
commit | 636eb204a40ea20df022fca65156bfb667da93ec (patch) | |
tree | 9d78187d83d43d9a43c42d7e64d27f6a07cccadd /gcc/cfgrtl.c | |
parent | 18767f6502134a72689c3b7be96723a0c03a6a30 (diff) | |
download | gcc-636eb204a40ea20df022fca65156bfb667da93ec.zip gcc-636eb204a40ea20df022fca65156bfb667da93ec.tar.gz gcc-636eb204a40ea20df022fca65156bfb667da93ec.tar.bz2 |
get_last_bb_insn returns an rtx_insn
2014-08-21 David Malcolm <dmalcolm@redhat.com>
* basic-block.h (get_last_bb_insn): Strengthen return type from
rtx to rtx_insn *.
* cfgrtl.c (get_last_bb_insn): Likewise, and for locals "tmp" and
end".
From-SVN: r214246
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r-- | gcc/cfgrtl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index fd94a03..ec53f2e 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -2237,12 +2237,12 @@ update_br_prob_note (basic_block bb) /* Get the last insn associated with block BB (that includes barriers and tablejumps after BB). */ -rtx +rtx_insn * get_last_bb_insn (basic_block bb) { rtx_jump_table_data *table; - rtx tmp; - rtx end = BB_END (bb); + rtx_insn *tmp; + rtx_insn *end = BB_END (bb); /* Include any jump table following the basic block. */ if (tablejump_p (end, NULL, &table)) |