This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: fix comments in emit-rtl.c


I've committed the following as obvious.
I also fixed Michael Matz's changelog typo. :-)

-2007-11-01  Michael Matz  <matz@suse.de
+2007-11-01  Michael Matz  <matz@suse.de>


2007-11-01  Ben Elliston  <bje@au.ibm.com>

	* emit-rtl.c (set_reg_attrs_from_mem): Clarify function comment.
	(set_mem_attrs_from_reg): Likewise.

Index: emit-rtl.c
===================================================================
--- emit-rtl.c	(revision 129817)
+++ emit-rtl.c	(working copy)
@@ -1009,7 +1009,7 @@ gen_reg_rtx_offset (rtx reg, enum machin
   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
   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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]