On Tue, May 10, 2011 at 13:15, Nathan Froyd <[email protected]> wrote:
> Other types can of course be shrunk, but the memory savings from doing
> so will be negligible
Have you done any measurements on the potential savings?
> +static void
> +lto_input_ts_type_common_tree_pointers (struct lto_input_block *ib,
> + struct data_in *data_in, tree expr)
> +{
> + TYPE_SIZE (expr) = lto_input_tree (ib, data_in);
> + TYPE_SIZE_UNIT (expr) = lto_input_tree (ib, data_in);
> + TYPE_ATTRIBUTES (expr) = lto_input_tree (ib, data_in);
> + TYPE_NAME (expr) = lto_input_tree (ib, data_in);
> + /* Do not stream TYPE_POINTER_TO or TYPE_REFERENCE_TO. */
Add some wording as to why not? This was copied from existing
comments, but I do not remember why we were doing this. Not too
critical, anyway.
OK, otherwise. Thanks for doing this!
Diego.