From 2ead7928a24970eb69b5c9716a46673cde2c783b Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Wed, 14 Jan 2015 16:37:15 +0000 Subject: [PATCH] + * lto-cgraph: Update function comments for + lto_symtab_encoder_encode_*. From-SVN: r219607 --- gcc/ChangeLog | 5 +++++ gcc/lto-cgraph.c | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2539e5dfe3e..f0bd2dfae79 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-01-14 Aldy Hernandez + + * lto-cgraph: Update function comments for + lto_symtab_encoder_encode_*. + 2015-01-14 Ilya Verbin * Makefile.in (site.exp): Do not set ENABLE_LTO. 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, -- 2.30.2