+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>
* Makefile.in (site.exp): Do not set ENABLE_LTO.
}
-/* 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,
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,
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,
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,
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,