]> gcc.gnu.org Git - gcc.git/commit - gcc/lto-streamer.h
lto-streamer.h (struct lto_input_block): Make it a class with a constructor.
authorRichard Biener <rguenther@suse.de>
Fri, 8 Aug 2014 12:55:31 +0000 (12:55 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 8 Aug 2014 12:55:31 +0000 (12:55 +0000)
commit207c68cd616b7739870933158e976881d1b2438e
tree37a2deb9dfd8703ab2605b7c559b3f67621fb4ff
parent07165dd72cbaa49420a6033b7a3d5e1e8a1c8a5b
lto-streamer.h (struct lto_input_block): Make it a class with a constructor.

2014-08-08  Richard Biener  <rguenther@suse.de>

* lto-streamer.h (struct lto_input_block): Make it a class
with a constructor.
(LTO_INIT_INPUT_BLOCK, LTO_INIT_INPUT_BLOCK_PTR): Remove.
(struct lto_function_header, struct lto_simple_header,
struct lto_simple_header_with_strings,
struct lto_decl_header, struct lto_function_header): Make
a simple inheritance hieararchy.  Remove unused fields.
(struct lto_asm_header): Remove.
* lto-streamer-out.c (produce_asm): Adjust.
(lto_output_toplevel_asms): Likewise.
(produce_asm_for_decls): Likewise.
* lto-section-out.c (lto_destroy_simple_output_block): Likewise.
* data-streamer-in.c (string_for_index): Likewise.
* ipa-inline-analysis.c (inline_read_section): Likewise.
* ipa-prop.c (ipa_prop_read_section): Likewise.
(read_replacements_section): Likewise.
* lto-cgraph.c (input_cgraph_opt_section): Likewise.
* lto-section-in.c (lto_create_simple_input_block): Likewise.
(lto_destroy_simple_input_block): Likewise.
* lto-streamer-in.c (lto_read_body_or_constructor): Likewise.
(lto_input_toplevel_asms): Likewise.

lto/
* lto.c (lto_read_decls): Adjust for lto_input_block changes.

From-SVN: r213759
12 files changed:
gcc/ChangeLog
gcc/data-streamer-in.c
gcc/ipa-inline-analysis.c
gcc/ipa-prop.c
gcc/lto-cgraph.c
gcc/lto-section-in.c
gcc/lto-section-out.c
gcc/lto-streamer-in.c
gcc/lto-streamer-out.c
gcc/lto-streamer.h
gcc/lto/ChangeLog
gcc/lto/lto.c
This page took 0.060291 seconds and 5 git commands to generate.