aboutsummaryrefslogtreecommitdiff
path: root/gcc/emit-rtl.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2015-05-09 04:16:27 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-05-09 04:16:27 +0000
commit5c8db5b4bf9917ac075b3252503a9ba8da3b88c3 (patch)
treed3e39360724866117a99ade5de14bcb125381371 /gcc/emit-rtl.c
parent8a1b6388da95b981729823f9bcb58304c7524477 (diff)
downloadgcc-5c8db5b4bf9917ac075b3252503a9ba8da3b88c3.zip
gcc-5c8db5b4bf9917ac075b3252503a9ba8da3b88c3.tar.gz
gcc-5c8db5b4bf9917ac075b3252503a9ba8da3b88c3.tar.bz2
prev_cc0_setter can take a rtx_insn *
gcc/ChangeLog: 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * emit-rtl.c (prev_cc0_setter): Change argument type to rtx_insn *. * rtl.h: Adjust. From-SVN: r222944
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r--gcc/emit-rtl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index b48f88b..ad5c8b2 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -3572,10 +3572,8 @@ next_cc0_user (rtx uncast_insn)
note, it is the previous insn. */
rtx_insn *
-prev_cc0_setter (rtx uncast_insn)
+prev_cc0_setter (rtx_insn *insn)
{
- rtx_insn *insn = safe_as_a <rtx_insn *> (uncast_insn);
-
rtx note = find_reg_note (insn, REG_CC_SETTER, NULL_RTX);
if (note)