1. 05 Jan, 2015 1 commit
  2. 02 Jan, 2014 1 commit
  3. 29 Oct, 2013 1 commit
    • tree-outof-ssa.h: Remove include files. · 8e9055ae
      	* tree-outof-ssa.h: Remove include files.
      	* tree-outof-ssa.c: Add required include files from tree-outof-ssa.h.
      	* expr.c: Likewise.
      	* tree-ssa-coalesce.c: Likewise.
      	* cfgexpand.c: Likewise.
      	* tree-ssa-ter.c: Likewise.
      	* ipa-prop.h: Remove gimple.h and tree-core.h from include list.
      	* lto-streamer.h: Likewise.
      	* cgraphbuild.c: Add gimple.h to include list.
      	* data-streamer-in.c: Likewise.
      	* ipa-cp.c: Likewise.
      	* tree-streamer.c: Likewise.
      	* lto-compress.c: Likewise.
      	* ipa-reference.c: Likewise.
      	* data-streamer-out.c: Likewise.
      	* lto-cgraph.c: Likewise.
      	* cgraphclones.c: Likewise.
      	* ipa-utils.c: Likewise.
      	* data-streamer.c: Likewise.
      	* ipa-split.c: Likewise.
      	* lto-section-in.c: Likewise.
      	* tree-streamer-out.c: Likewise.
      	* ipa-prop.c: Likewise.
      	* tree-streamer-in.c: Likewise.
      	* symtab.c: Likewise.
      	* opts-global.c: Likewise.
      	* lto-opts.c: Likewise.
      	* lto-section-out.c: Likewise.
      	* lto-streamer.c: Likewise.
      	* rtl.h: Add tree-core.h to include list.
      	* expr.h: Remove tree-core.h from include list.
      	* gimple.h: Likewise.
      	* ipa-utils.h: Likewise.
      	* streamer-hooks.h: Likewise.
      	* streamer-hooks.c: Include input.h.
      
      	* lto/lto-object.c: Add gimple.h to include list.
      	* lto/lto-partition.c: Likewise.
      
      From-SVN: r204158
      Andrew MacLeod committed
  4. 21 Oct, 2013 1 commit
    • Re-factor inclusion of tree.h. · 4d648807
      This moves tree.h out of every header. This exposes dependencies of
      tree.h in files that should probably not need it after tree and gimple
      are separated.
      
      After this change, no header should include tree.h directly. It should
      only be included by a .c file. Unfortunately, I did not find an
      automatic way of forcing this.
      
      Tested on x86_64 with all languages enabled and using
      contrib/config-list.mk.
      
      2013-10-21  Diego Novillo  <dnovillo@google.com>
      
      	* asan.c: Include tree.h
      	* bb-reorder.c: Likewise.
      	* cfgcleanup.c: Likewise.
      	* cfgloopmanip.c: Likewise.
      	* data-streamer-in.c: Likewise.
      	* data-streamer-out.c: Likewise.
      	* data-streamer.c: Likewise.
      	* dwarf2cfi.c: Likewise.
      	* graphite-blocking.c: Likewise.
      	* graphite-clast-to-gimple.c: Likewise.
      	* graphite-dependences.c: Likewise.
      	* graphite-interchange.c: Likewise.
      	* graphite-optimize-isl.c: Likewise.
      	* graphite-poly.c: Likewise.
      	* graphite-scop-detection.c: Likewise.
      	* graphite-sese-to-poly.c: Likewise.
      	* graphite.c: Likewise.
      	* ipa-devirt.c: Likewise.
      	* ipa-profile.c: Likewise.
      	* ipa.c: Likewise.
      	* ira.c: Likewise.
      	* loop-init.c: Likewise.
      	* loop-unroll.c: Likewise.
      	* lower-subreg.c: Likewise.
      	* lto/lto-object.c: Likewise.
      	* recog.c: Likewise.
      	* reginfo.c: Likewise.
      	* tree-loop-distribution.c: Likewise.
      	* tree-parloops.c: Likewise.
      	* tree-ssa-strlen.c: Likewise.
      	* tree-streamer.c: Likewise.
      	* value-prof.c: Likewise.
      	* target-globals.c: Likewise.
      	* expr.h: Include tree-core.h instead of tree.h.
      	* gimple.h: Likewise.
      	* ipa-prop.h: Likewise.
      	* ipa-utils.h: Likewise.
      	* lto-streamer.h: Likewise.
      	* streamer-hooks.h: Likewise.
      	* ipa-reference.h: Include cgraph.h instead of tree.h.
      	* cgraph.h: Include basic-block.h instead of tree.h.
      	* tree-streamer.h: Do not include tree.h.
      	* genattrtab.c (write_header): Generate inclusion of
      	tree.h.
      	* genautomata.c (main): Likewise.
      	* genemit.c: Likewise.
      	* genopinit.c: Likewise.
      	* genoutput.c (output_prologue): Likewise.
      	* genpeep.c: Likewise.
      
      testsuite/ChangeLog
      
      	* g++.dg/plugin/selfassign.c: Include tree.h.
      	* gcc.dg/plugin/finish_unit_plugin.c: Likewise.
      	* gcc.dg/plugin/ggcplug.c: Likewise.
      	* gcc.dg/plugin/one_time_plugin.c: Likewise.
      	* gcc.dg/plugin/selfassign.c: Likewise.
      	* gcc.dg/plugin/start_unit_plugin.c: Likewise.
      
      From-SVN: r203908
      Diego Novillo committed
  5. 28 Sep, 2013 1 commit
    • alloc-pool.c, [...]: Add missing whitespace before "(". · c3284718
      gcc/
      	* alloc-pool.c, asan.c, auto-inc-dec.c, basic-block.h, bb-reorder.c,
      	bitmap.c, bitmap.h, bt-load.c, builtins.c, calls.c, cfgcleanup.c,
      	cfgexpand.c, cfghooks.c, cfgloop.c, cfgloopmanip.c, cfgrtl.c, cgraph.c,
      	cgraph.h, cgraphbuild.c, cgraphclones.c, cgraphunit.c, collect2.c,
      	combine-stack-adj.c, combine.c, compare-elim.c, context.c, context.h,
      	cprop.c, cse.c, cselib.c, dbxout.c, dce.c, defaults.h, df-core.c,
      	df-problems.c, df-scan.c, df.h, diagnostic.c, double-int.c, dse.c,
      	dumpfile.c, dwarf2asm.c, dwarf2cfi.c, dwarf2out.c, emit-rtl.c,
      	errors.c, except.c, expmed.c, expr.c, file-find.c, final.c,
      	fixed-value.c, fold-const.c, function.c, fwprop.c, gcc-ar.c, gcc.c,
      	gcov-io.c, gcov-io.h, gcov.c, gcse.c, genattr-common.c, genattr.c,
      	genattrtab.c, genautomata.c, genconfig.c, genemit.c, genextract.c,
      	genflags.c, gengenrtl.c, gengtype-state.c, gengtype.c, genmodes.c,
      	genopinit.c, genoutput.c, genpeep.c, genpreds.c, genrecog.c,
      	gensupport.c, ggc-common.c, ggc-page.c, gimple-fold.c, gimple-low.c,
      	gimple-pretty-print.c, gimple-ssa-strength-reduction.c, gimple.c,
      	gimple.h, godump.c, graphite-clast-to-gimple.c,
      	graphite-optimize-isl.c, graphite-poly.h, graphite-sese-to-poly.c,
      	graphite.c, haifa-sched.c, hash-table.c, hash-table.h, hwint.c,
      	hwint.h, ifcvt.c, incpath.c, init-regs.c, input.h, intl.c, intl.h,
      	ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c, ipa-inline.c,
      	ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c,
      	ipa-utils.c, ipa.c, ira-build.c, ira.c, jump.c, loop-doloop.c,
      	loop-init.c, loop-invariant.c, loop-iv.c, lower-subreg.c, lto-cgraph.c,
      	lto-streamer-in.c, lto-streamer-out.c, lto-wrapper.c, mcf.c,
      	mode-switching.c, modulo-sched.c, omp-low.c, optabs.c, opts.c,
      	pass_manager.h, passes.c, plugin.c, postreload-gcse.c, postreload.c,
      	predict.c, prefix.c, pretty-print.c, print-rtl.c, print-tree.c,
      	profile.c, read-md.c, real.c, real.h, recog.c, ree.c, reg-stack.c,
      	regcprop.c, reginfo.c, regmove.c, regrename.c, regs.h, regstat.c,
      	reload1.c, reorg.c, rtl.c, rtl.h, rtlanal.c, sbitmap.c, sched-rgn.c,
      	sdbout.c, sel-sched-ir.c, sel-sched.c, sparseset.c, stack-ptr-mod.c,
      	statistics.c, stmt.c, stor-layout.c, store-motion.c, streamer-hooks.h,
      	system.h, target-hooks-macros.h, targhooks.c, targhooks.h, toplev.c,
      	tracer.c, trans-mem.c, tree-browser.c, tree-call-cdce.c, tree-cfg.c,
      	tree-cfgcleanup.c, tree-complex.c, tree-data-ref.c, tree-data-ref.h,
      	tree-eh.c, tree-emutls.c, tree-flow.h, tree-if-conv.c, tree-into-ssa.c,
      	tree-iterator.c, tree-loop-distribution.c, tree-mudflap.c,
      	tree-nested.c, tree-nomudflap.c, tree-nrv.c, tree-object-size.c,
      	tree-optimize.c, tree-pass.h, tree-pretty-print.c, tree-profile.c,
      	tree-scalar-evolution.c, tree-sra.c, tree-ssa-ccp.c,
      	tree-ssa-coalesce.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
      	tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
      	tree-ssa-ifcombine.c, tree-ssa-live.c, tree-ssa-loop-ch.c,
      	tree-ssa-loop-im.c, tree-ssa-loop-ivopts.c, tree-ssa-loop-prefetch.c,
      	tree-ssa-loop.c, tree-ssa-math-opts.c, tree-ssa-operands.c,
      	tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
      	tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
      	tree-ssa-structalias.c, tree-ssa-threadedge.c, tree-ssa-threadupdate.c,
      	tree-ssa-uncprop.c, tree-ssa-uninit.c, tree-ssa.c, tree-ssanames.c,
      	tree-stdarg.c, tree-switch-conversion.c, tree-tailcall.c,
      	tree-vect-data-refs.c, tree-vect-generic.c, tree-vect-loop-manip.c,
      	tree-vect-stmts.c, tree-vectorizer.c, tree-vectorizer.h, tree-vrp.c,
      	tree.c, tree.h, tsan.c, tsystem.h, value-prof.c, var-tracking.c,
      	varasm.c, vec.h, vmsdbgout.c, vtable-verify.c, web.c: Add missing
      	whitespace before "(".
      
      From-SVN: r203004
      Richard Sandiford committed
  6. 10 Jan, 2013 1 commit
  7. 04 Jan, 2013 1 commit
  8. 10 Oct, 2012 1 commit
    • lto-streamer-in.c (lto_input_location_bitpack): Rename to ... · 7cb7d208
      2012-10-10  Richard Biener  <rguenther@suse.de>
      
      	* lto-streamer-in.c (lto_input_location_bitpack): Rename to ...
      	(lto_input_location): ... this.  Kill original.
      	(input_eh_region): Adjust.
      	(input_struct_function_base): Likewise.
      	(lto_read_tree): Likewise.
      	* lto-streamer-out.c (lto_output_location_bitpack): Rename to ...
      	(lto_output_location): ... this.  Kill original.
      	(lto_write_tree): Adjust.
      	(output_eh_region): Likewise.
      	(output_struct_function_base): Likewise.
      	* lto-streamer.c (lto_streamer_hooks_init): Initialize location
      	hooks.
      	* lto-streamer.h (lto_input_location): Adjust prototype.
      	(lto_output_location): Likewise.
      	* streamer-hooks.h (struct streamer_hooks): Adjust prototype
      	of input_location and output_location hooks.
      	(stream_input_location): New define.
      	(stream_output_location): Likewise.
      	* tree-streamer-in.c (unpack_ts_block_value_fields): Adjust.
      	(unpack_value_fields): Likewise.
      	(streamer_read_tree_bitfields): Likewise.
      	(lto_input_ts_decl_minimal_tree_pointers): Likewise.
      	(lto_input_ts_exp_tree_pointers): Likewise.
      	(lto_input_ts_block_tree_pointers): Likewise.
      	* tree-streamer-out.c (pack_ts_block_value_fields): Adjust.
      	(streamer_pack_tree_bitfields): Likewise.
      	(write_ts_decl_minimal_tree_pointers): Likewise.
      	(write_ts_exp_tree_pointers): Likewise.
      	(write_ts_block_tree_pointers): Likewise.
      	* gimple-streamer-in.c (input_phi): Adjust.
      	(input_gimple_stmt): Likewise.
      	* gimple-streamer-out.c (output_phi): Adjust.
      	(output_gimple_stmt): Likewise.
      	* tree-streamer.h (streamer_read_tree_bitfields): Adjust prototype.
      	(streamer_pack_tree_bitfields): Likewise.
      
      From-SVN: r192317
      Richard Biener committed
  9. 19 Dec, 2011 1 commit
    • re PR lto/51573 (ICE (segfault) in lto_varpool_encoder_encode_initializer_p) · 7e54c608
      2011-12-19  Richard Guenther  <rguenther@suse.de>
      
      	PR lto/51573
      	* streamer-hooks.h (struct streamer_hooks): Add second
      	ref_p parameter to write_tree.
      	(stream_write_tree): Adjust.
      	(stream_write_tree_shallow_non_ref): New define.
      	* lto-streamer.h (lto_output_tree): Adjust.
      	* lto-streamer-out.c (lto_output_tree): Likewise.
      	* tree-streamer-out.c (streamer_write_chain): Only
      	force the immediate tree to be streamed as non-reference.
      
      	* gcc.dg/lto/20111207-2_0.c: Adjust.
      	* g++.dg/lto/pr51573-1_0.C: New testcase.
      
      From-SVN: r182487
      Richard Guenther committed
  10. 13 Oct, 2011 1 commit
  11. 12 Aug, 2011 1 commit
    • data-streamer.h (streamer_write_zero): Rename from output_zero. · 412288f1
      	* data-streamer.h (streamer_write_zero): Rename from output_zero.
       	(streamer_write_uhwi): Rename from lto_output_uleb128.
       	(streamer_write_hwi): Rename from output_sleb128.
       	(streamer_write_string): Rename from lto_output_string.
       	(streamer_string_index): Rename from lto_string_index.
       	(streamer_write_string_with_length): Rename from
       	lto_output_string_with_length.
       	(streamer_write_uhwi_stream): Rename from lto_output_uleb128_stream.
       	(streamer_write_hwi_stream): Rename from lto_output_sleb128_stream.
       	(streamer_read_string): Rename from lto_input_string.
       	(streamer_read_indexed_string): Rename from input_string_internal.
       	(streamer_read_uhwi): Rename from lto_input_uleb128.
       	(streamer_read_hwi): Rename from lto_input_sleb128.
       	(streamer_write_hwi_in_range): Rename from lto_output_int_in_range.
       	(streamer_read_hwi_in_range): Rename from lto_input_int_in_range.
       	(streamer_write_enum): Rename from lto_output_enum.
       	(streamer_read_enum): Rename from lto_input_enum.
       	(streamer_write_record_start): Rename from output_record_start.
       	(streamer_read_record_start): Rename from input_record_start.
       	(streamer_write_bitpack): Rename from lto_output_bitpack.
       	(streamer_read_bitpack): Rename from lto_input_bitpack.
       	(streamer_write_char_stream): Rename from lto_output_1_stream.
       	(streamer_read_uchar): Rename from lto_input_1_unsigned.
       	* tree-streamer.h (streamer_cache_d): Rename from lto_streamer_cache_d.
       	(streamer_handle_as_builtin_p): Rename from lto_stream_as_builtin_p.
       	(streamer_read_string_cst): Rename from input_string_cst.
       	(streamer_read_chain): Rename from lto_input_chain.
       	(streamer_alloc_tree): Rename from lto_materialize_tree.
       	(streamer_read_tree_body): Rename from lto_input_tree_pointers.
       	(streamer_get_pickled_tree): Rename from lto_get_pickled_tree.
       	(streamer_get_builtin_tree): Rename from lto_get_builtin_tree.
       	(streamer_read_integer_cst): Rename from lto_input_integer_cst.
       	(streamer_read_tree_bitfields): Rename from tree_read_bitfields.
       	(streamer_write_chain): Rename from lto_output_chain.
       	(streamer_write_tree_header): Rename from lto_output_tree_header.
       	(streamer_pack_tree_bitfields): Rename from pack_value_fields.
       	(streamer_write_tree_body): Rename from lto_output_tree_pointers.
       	(streamer_write_integer_cst): Rename from lto_output_integer_cst.
       	(streamer_write_builtin): Rename from lto_output_builtin_tree.
       	(streamer_check_handled_ts_structures): Rename from
       	check_handled_ts_structures.
       	(streamer_tree_cache_insert): Rename from lto_streamer_cache_insert.
       	(streamer_tree_cache_insert_at): Rename from
       	lto_streamer_cache_insert_at.
       	(streamer_tree_cache_append): Rename from lto_streamer_cache_append.
       	(streamer_tree_cache_lookup): Rename from lto_streamer_cache_lookup.
       	(streamer_tree_cache_get): Rename from lto_streamer_cache_get.
       	(streamer_tree_cache_create): Rename from lto_streamer_cache_create.
       	(streamer_tree_cache_delete): Rename from lto_streamer_cache_delete.
       	* tree-streamer-out.c (write_string_cst): Rename from output_string_cst.
       	(write_identifier): Rename from output_identifier.
       	(write_ts_common_tree_pointers): Rename from
       	lto_output_ts_common_tree_pointers.
       	(write_ts_vector_tree_pointers): Rename from
       	lto_output_ts_vector_tree_pointers.
       	(write_ts_complex_tree_pointers): Rename from
       	lto_output_ts_complex_tree_pointers.
       	(write_ts_decl_minimal_tree_pointers): Rename from
       	lto_output_ts_decl_minimal_tree_pointers.
       	(write_ts_decl_common_tree_pointers): Rename from
       	lto_output_ts_decl_common_tree_pointers.
       	(write_ts_decl_non_common_tree_pointers): Rename from
       	lto_output_ts_decl_non_common_tree_pointers.
       	(write_ts_decl_with_vis_tree_pointers): Rename from
       	lto_output_ts_decl_with_vis_tree_pointers.
       	(write_ts_field_decl_tree_pointers): Rename from
       	lto_output_ts_field_decl_tree_pointers.
       	(write_ts_function_decl_tree_pointers): Rename from
       	lto_output_ts_function_decl_tree_pointers.
       	(write_ts_type_common_tree_pointers): Rename from
       	lto_output_ts_type_common_tree_pointers.
       	(write_ts_type_non_common_tree_pointers): Rename from
       	lto_output_ts_type_non_common_tree_pointers.
       	(write_ts_list_tree_pointers): Rename from
       	lto_output_ts_list_tree_pointers.
       	(write_ts_vec_tree_pointers): Rename from
       	lto_output_ts_vec_tree_pointers.
       	(write_ts_exp_tree_pointers): Rename from
       	lto_output_ts_exp_tree_pointers.
       	(write_ts_block_tree_pointers): Rename from
       	lto_output_ts_block_tree_pointers.
       	(write_ts_binfo_tree_pointers): Rename from
       	lto_output_ts_binfo_tree_pointers.
       	(write_ts_constructor_tree_pointers): Rename from
       	lto_output_ts_constructor_tree_pointers.
       	(write_ts_target_option): Rename from
       	lto_output_ts_target_option.
       	(write_ts_translation_unit_decl_tree_pointers): Rename from
       	lto_output_ts_translation_unit_decl_tree_pointers.
       	* tree-streamer.c (streamer_tree_cache_add_to_node_array):
       	Rename from lto_streamer_cache_add_to_node_array.
       	(streamer_tree_cache_insert_1): Rename from lto_streamer_cache_insert_1.
       	(record_common_node): Rename from lto_record_common_node.
      
      	* streamer-hooks.h (bitpack_d, lto_streamer_cache_d): Remove forward
      	declarations.
      	* data-streamer-in.c (lto_input_widest_uint_uleb128): Remove unused
      	function.
      	* data-streamer-out.c (lto_output_widest_uint_uleb128_stream): Remove
      	unused function.
      	* Makefile.in (lto-section-out.o): Add dependency on DATA_STREAMER_H.
      	(ipa-reference.o): Likewise.
      	* lto-section-out.c: Include data-streamer.h.
      	* ipa-reference.c: Include data-streamer.h.
      
      From-SVN: r177704
      Diego Novillo committed
  12. 11 Aug, 2011 1 commit
    • tree-streamer-out.c (lto_output_ts_decl_with_vis_tree_pointers): Call… · b9393656
      tree-streamer-out.c (lto_output_ts_decl_with_vis_tree_pointers): Call stream_write_tree instead of output_record_start.
      
      	* tree-streamer-out.c (lto_output_ts_decl_with_vis_tree_pointers):
      	Call stream_write_tree instead of output_record_start.
      	(lto_output_ts_binfo_tree_pointers): Likewise.
      
      	* streamer-hooks.h (stream_write_tree): Move from tree-streamer.h.
      	Convert it to a macro.
      	(stream_read_tree): Likewise.
      
      	* lto-streamer.h (lto_stream_as_builtin_p): Move ...
      	* tree-streamer.h (lto_stream_as_builtin_p): ... here.
      
      	* lto-streamer-in.c (lto_read_tree): Call lto_streamer_cache_append
      	and tree_read_bitfields.
      	* lto-streamer-out.c (lto_is_streamable): Move from lto-streamer.c
      	(lto_write_tree): Call it.
      	* lto-streamer.c (lto_is_streamable): Move to lto-streamer-out.c
      	* streamer-hooks.h (struct streamer_hooks): Remove fields
      	name, is_streamable and alloc_tree. Update all users.
      	* tree-streamer-in.c (tree_read_bitfields): Factor out of ...
      	(lto_materialize_tree): ... here.
      	Handle CALL_EXPR codes.
      	Remove call to lto_streamer_cache_append.
      	* tree-streamer-out.c (lto_output_tree_header): Handle
      	CALL_EXPR nodes.
      	* tree-streamer.h (tree_read_bitfields): Declare.
      
      	* Makefile.in (TREE_STREAMER_H): Add STREAMER_HOOKS_H.
      	(gimple-streamer-in.o): Add dependency on TREE_STREAMER_H.
      	* tree-streamer.h (stream_read_tree): New.  Replace all calls
      	to lto_input_tree with it.
      	(stream_write_tree): New.  Replace all calls to lto_output_tree,
      	lto_output_tree_ref and lto_output_tree_or_ref with it.
      	* lto-streamer-in.c (lto_read_tree): Inline code from
      	lto_streamer_read_tree.
      	(lto_input_tree): Move from tree-streamer-in.c.
      	* lto-streamer-out.c (lto_output_tree_ref): Make static.
      	Remove handling of NULL values for EXPR.
      	Do not handle EXPRs that are not indexable.
      	(lto_write_tree): Move from tree-streamer-out.c.
      	Inline lto_streamer_write_tree.
      	(lto_output_tree): Move from tree-streamer-out.c.
      	If REF_P is true and EXPR is indexable, call lto_output_tree_ref.
      	* lto-streamer.c (lto_record_common_node): Move to tree-streamer.c.
      	(lto_preload_common_nodes): Likewise.
      	Remove assertions and adjustments for nodes
      	main_identifier_node, ptrdiff_type_node and fileptr_type_node.
      	(lto_streamer_hooks_init): Set streamer_hooks.write_tree to
      	lto_output_tree and streamer_hooks.read_tree to
      	lto_input_tree.
      	* lto-streamer.h (lto_input_tree): Declare.
      	(lto_output_tree_ref): Remove.
      	* streamer-hooks.h (struct streamer_hooks): Remove fields
      	preload_common_nodes, indexable_with_decls_p,
      	pack_value_fields, unpack_value_fields, output_tree_header and
      	has_unique_integer_csts_p.
      	Update all users.
      	* tree-streamer-in.c (lto_materialize_tree): Make extern.
      	(lto_input_tree_pointers): Likewise.
      	(lto_read_tree): Move to lto-streamer-in.c.
      	(lto_input_integer_cst): Make extern.
      	(lto_get_pickled_tree): Likewise.
      	(lto_get_builtin_tree): Likewise.
      	(lto_input_tree): Move to lto-streamer-in.c.
      	* tree-streamer-out.c (pack_value_fields): Make extern.
      	(lto_output_tree_or_ref): Remove.  Replace all callers with
      	calls to stream_write_tree.
      	(lto_output_builtin_tree): Make extern.
      	(lto_streamer_write_tree): Inline into lto_write_tree.
      	(lto_output_tree_pointers): Make extern.
      	(lto_output_tree_header): Likewise.
      	(lto_output_integer_cst): Likewise.
      	(lto_write_tree): Move to lto-streamer-out.c.
      	(lto_output_tree): Likewise.
      	* tree-streamer.c (lto_record_common_node): Move from
      	lto-streamer.c
      	(preload_common_nodes): Likewise.
      	(lto_streamer_cache_create): Call it.
      	* tree-streamer.h: Include streamer-hooks.h.
      	(stream_write_tree): New.
      	(stream_read_tree): New.
      	(lto_input_tree): Remove.
      	(lto_materialize_tree): Declare.
      	(lto_input_tree_pointers): Declare.
      	(lto_get_pickled_tree): Declare.
      	(lto_get_builtin_tree): Declare.
      	(lto_input_integer_cst): Declare.
      	(lto_output_tree_header): Declare.
      	(pack_value_fields): Declare.
      	(lto_output_tree_pointers): Declare.
      	(lto_output_integer_cst): Declare.
      	(lto_output_builtin_tree): Declare.
      
      From-SVN: r177661
      Diego Novillo committed
  13. 08 Aug, 2011 1 commit