summaryrefslogtreecommitdiff
path: root/gcc/rtlanal.c
diff options
context:
space:
mode:
authorktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-30 15:54:11 +0000
committerktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-30 15:54:11 +0000
commit3ae3b057bdab1f96bf39c0eb9e3249030485f3dc (patch)
tree8d126e49acdc24c477421aedec50233f752503b8 /gcc/rtlanal.c
parenta5472c5f349f6e874babcd19561c050598aca1af (diff)
downloadgcc-3ae3b057bdab1f96bf39c0eb9e3249030485f3dc.tar.gz
[comment] Improve comment for reg_set_p
* rtlanal.c (reg_set_p): Expand function comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229586 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r--gcc/rtlanal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c
index 84ff4b726c0..7bc3fdbc0ca 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)
{