fix cgraph comment
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 27 Oct 2019 08:27:19 +0000 (08:27 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Sun, 27 Oct 2019 08:27:19 +0000 (08:27 +0000)
This comment cut&pasto fix was split out of another patch I'm about to
contribute, as the current version of the patch no longer touches cgraph
data structures.

for  gcc/ChangeLog

* cgraph.c (cgraph_node::rtl_info): Fix cut&pasto in comment.
* cgraph.h (cgraph_node::rtl_info): Likewise.

From-SVN: r277485

gcc/ChangeLog
gcc/cgraph.c
gcc/cgraph.h

index 3bfbf1623ebd9c4090f9d101d1080991c2b77b18..fe812a4cb432698b8bea0a5681ca62053f79a143 100644 (file)
@@ -1,3 +1,8 @@
+2019-10-27  Eric Botcazou <ebotcazou@adacore.com>
+
+       * cgraph.c (cgraph_node::rtl_info): Fix cut&pasto in comment.
+       * cgraph.h (cgraph_node::rtl_info): Likewise.
+
 2019-10-27  Jan Hubicka  <hubicka@ucw.cz>
 
        * ipa-cp.c (propagate_constants_across_call): If args are not available
index 671306db5ca4048fae668c22c37b56a51e117801..d47d4128b1c06410023b3f3f4305895e5802b59b 100644 (file)
@@ -1846,7 +1846,7 @@ cgraph_node::local_info (tree decl)
   return &node->ultimate_alias_target ()->local;
 }
 
-/* Return local info for the compiled function.  */
+/* Return RTL info for the compiled function.  */
 
 cgraph_rtl_info *
 cgraph_node::rtl_info (const_tree decl)
index 733d616fb8c3add97e19d8a2a3d870e86cc3cd98..a7f357f0b5c076df529f4b201d3a5520a87847b8 100644 (file)
@@ -1381,7 +1381,7 @@ struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node
   /* Return local info for the compiled function.  */
   static cgraph_local_info *local_info (tree decl);
 
-  /* Return local info for the compiled function.  */
+  /* Return RTL info for the compiled function.  */
   static struct cgraph_rtl_info *rtl_info (const_tree);
 
   /* Return the cgraph node that has ASMNAME for its DECL_ASSEMBLER_NAME.