summaryrefslogtreecommitdiffstats
path: root/gcc/emit-rtl.c
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2007-11-01 05:57:02 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2007-11-01 05:57:02 +0000
commit1ad8ab5fc4749142d3c8c6326eadfdf62af7a5f1 (patch)
tree6423c265df5288a63b39df2128d104f99e137d8d /gcc/emit-rtl.c
parentaf4f74faf43b10d073022d80f9b86c1051e06167 (diff)
downloadppe42-gcc-1ad8ab5fc4749142d3c8c6326eadfdf62af7a5f1.tar.gz
ppe42-gcc-1ad8ab5fc4749142d3c8c6326eadfdf62af7a5f1.zip
* emit-rtl.c (set_reg_attrs_from_mem): Clarify function comment.
(set_mem_attrs_from_reg): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129818 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r--gcc/emit-rtl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index 8d1b1c7e85a..5ce8519993b 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -1009,7 +1009,7 @@ gen_reg_rtx_offset (rtx reg, enum machine_mode mode, int offset)
return new;
}
-/* Set the decl for MEM to DECL. */
+/* Set REG to the decl that MEM refers to. */
void
set_reg_attrs_from_mem (rtx reg, rtx mem)
@@ -1796,7 +1796,7 @@ set_mem_attributes (rtx ref, tree t, int objectp)
set_mem_attributes_minus_bitpos (ref, t, objectp, 0);
}
-/* Set the decl for MEM to DECL. */
+/* Set MEM to the decl that REG refers to. */
void
set_mem_attrs_from_reg (rtx mem, rtx reg)
OpenPOWER on IntegriCloud