aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-cgraph.c
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-14 16:37:15 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-14 16:37:15 +0000
commit1cd6246cae4fcf0159616bc525801071abb2b399 (patch)
tree041bd56ba263c079c684c6a6dd2597304fea0d19 /gcc/lto-cgraph.c
parent04270ae2c00676c2a4945076793025d56b3bccf8 (diff)
+ * lto-cgraph: Update function comments for
+ lto_symtab_encoder_encode_*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219607 138bc75d-0d04-0410-961f-82ee72b054a4
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 91be53036f3..35b1f04fdb8 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,