+ * lto-cgraph: Update function comments for

+       lto_symtab_encoder_encode_*.

From-SVN: r219607
This commit is contained in:
Aldy Hernandez 2015-01-14 16:37:15 +00:00 committed by Aldy Hernandez
parent 3b6e42f965
commit 2ead7928a2
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2015-01-14 Aldy Hernandez <aldyh@redhat.com>
* lto-cgraph: Update function comments for
lto_symtab_encoder_encode_*.
2015-01-14 Ilya Verbin <ilya.verbin@intel.com> 2015-01-14 Ilya Verbin <ilya.verbin@intel.com>
* Makefile.in (site.exp): Do not set ENABLE_LTO. * Makefile.in (site.exp): Do not set ENABLE_LTO.

View File

@ -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 bool
lto_symtab_encoder_encode_body_p (lto_symtab_encoder_t encoder, 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 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 static void
lto_set_symtab_encoder_encode_body (lto_symtab_encoder_t encoder, 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 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 static void
lto_set_symtab_encoder_encode_initializer (lto_symtab_encoder_t encoder, 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; 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 bool
lto_symtab_encoder_in_partition_p (lto_symtab_encoder_t encoder, 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 encoder->nodes[index].in_partition;
} }
/* Return TRUE if we should encode body of NODE (if any). */ /* Specify that NODE is in this partition. */
void void
lto_set_symtab_encoder_in_partition (lto_symtab_encoder_t encoder, lto_set_symtab_encoder_in_partition (lto_symtab_encoder_t encoder,