aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-cgraph.c
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2015-01-14 16:37:15 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2015-01-14 16:37:15 +0000
commit2ead7928a24970eb69b5c9716a46673cde2c783b (patch)
tree041bd56ba263c079c684c6a6dd2597304fea0d19 /gcc/lto-cgraph.c
parent3b6e42f965f08e4e68d66b345a9ae2349ae6be5f (diff)
downloadgcc-2ead7928a24970eb69b5c9716a46673cde2c783b.zip
gcc-2ead7928a24970eb69b5c9716a46673cde2c783b.tar.gz
gcc-2ead7928a24970eb69b5c9716a46673cde2c783b.tar.bz2
+ * lto-cgraph: Update function comments for
+ lto_symtab_encoder_encode_*. From-SVN: r219607
Diffstat (limited to 'gcc/lto-cgraph.c')
-rw-r--r--gcc/lto-cgraph.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/lto-cgraph.c b/gcc/lto-cgraph.c
index 91be530..35b1f04 100644
--- a/gcc/lto-cgraph.c
+++ b/gcc/lto-cgraph.c
@@ -193,7 +193,7 @@ lto_symtab_encoder_delete_node (lto_symtab_encoder_t encoder,
}
-/* Return TRUE if we should encode initializer of NODE (if any). */
+/* Return TRUE if we should encode the body of NODE (if any). */
bool
lto_symtab_encoder_encode_body_p (lto_symtab_encoder_t encoder,
@@ -203,7 +203,7 @@ lto_symtab_encoder_encode_body_p (lto_symtab_encoder_t encoder,
return encoder->nodes[index].body;
}
-/* Return TRUE if we should encode body of NODE (if any). */
+/* Specify that we encode the body of NODE in this partition. */
static void
lto_set_symtab_encoder_encode_body (lto_symtab_encoder_t encoder,
@@ -226,7 +226,7 @@ lto_symtab_encoder_encode_initializer_p (lto_symtab_encoder_t encoder,
return encoder->nodes[index].initializer;
}
-/* Return TRUE if we should encode initializer of NODE (if any). */
+/* Specify that we should encode initializer of NODE (if any). */
static void
lto_set_symtab_encoder_encode_initializer (lto_symtab_encoder_t encoder,
@@ -236,7 +236,7 @@ lto_set_symtab_encoder_encode_initializer (lto_symtab_encoder_t encoder,
encoder->nodes[index].initializer = true;
}
-/* Return TRUE if we should encode initializer of NODE (if any). */
+/* Return TRUE if NODE is in this partition. */
bool
lto_symtab_encoder_in_partition_p (lto_symtab_encoder_t encoder,
@@ -248,7 +248,7 @@ lto_symtab_encoder_in_partition_p (lto_symtab_encoder_t encoder,
return encoder->nodes[index].in_partition;
}
-/* Return TRUE if we should encode body of NODE (if any). */
+/* Specify that NODE is in this partition. */
void
lto_set_symtab_encoder_in_partition (lto_symtab_encoder_t encoder,