diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2015-05-09 04:15:52 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2015-05-09 04:15:52 +0000 |
commit | 0d53e74ecf0d43d2e80a29d1252a18f29cbc899e (patch) | |
tree | fc6ff8ab0460ba226972da950d318c1c4b537b57 /gcc/rtlanal.c | |
parent | ecb44bc9a28c748c6ecc8a59c918d12164be4d23 (diff) | |
download | gcc-0d53e74ecf0d43d2e80a29d1252a18f29cbc899e.zip gcc-0d53e74ecf0d43d2e80a29d1252a18f29cbc899e.tar.gz gcc-0d53e74ecf0d43d2e80a29d1252a18f29cbc899e.tar.bz2 |
change in_expr_list_p to in_insn_list_p
gcc/ChangeLog:
2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* rtlanal.c (in_insn_list_p): Renamed from in_expr_list_p.
* cfgrtl.c (can_delete_label_p): Adjust.
* rtl.h: likewise.
From-SVN: r222938
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r-- | gcc/rtlanal.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 2377f25a..b531010 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -2205,16 +2205,16 @@ remove_reg_equal_equiv_notes_for_regno (unsigned int regno) return 1 if it is found. A simple equality test is used to determine if NODE matches. */ -int -in_expr_list_p (const_rtx listp, const_rtx node) +bool +in_insn_list_p (const rtx_insn_list *listp, const rtx_insn *node) { const_rtx x; for (x = listp; x; x = XEXP (x, 1)) if (node == XEXP (x, 0)) - return 1; + return true; - return 0; + return false; } /* Search LISTP (an EXPR_LIST) for an entry whose first operand is NODE and |