diff options
author | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 2015-10-30 15:54:11 +0000 |
---|---|---|
committer | Kyrylo Tkachov <ktkachov@gcc.gnu.org> | 2015-10-30 15:54:11 +0000 |
commit | a69a0436ee69044dd507897f0ff9dccd0c293732 (patch) | |
tree | 8d126e49acdc24c477421aedec50233f752503b8 | |
parent | 68a750e938529e716a552ba74ab9a18da6cc66ae (diff) | |
download | gcc-a69a0436ee69044dd507897f0ff9dccd0c293732.zip gcc-a69a0436ee69044dd507897f0ff9dccd0c293732.tar.gz gcc-a69a0436ee69044dd507897f0ff9dccd0c293732.tar.bz2 |
[comment] Improve comment for reg_set_p
* rtlanal.c (reg_set_p): Expand function comment.
From-SVN: r229586
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/rtlanal.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 93b480c..4a1a9d8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-10-30 Kyrylo Tkachov <kyrylo.tkachov@arm.com> + + * rtlanal.c (reg_set_p): Expand function comment. + 2015-10-30 Andrew MacLeod <amacleod@redhat.com> * alias.c: Remove unused headers. diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 84ff4b7..7bc3fdb 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -1204,7 +1204,8 @@ reg_set_between_p (const_rtx reg, const rtx_insn *from_insn, return 0; } -/* Internals of reg_set_between_p. */ +/* Return true if REG is set or clobbered inside INSN. */ + int reg_set_p (const_rtx reg, const_rtx insn) { |