diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-04-30 16:14:58 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-04-30 16:14:58 +0000 |
commit | 0352cfc868f9080c1e08372feebd768eca4360fc (patch) | |
tree | 6965f4e433b0b6b93aba9c1755a2c69ed3107fe4 /gcc/java | |
parent | 3fd91cbd4fe2bcfb7d2db25fe2c2cc2ec2d271b2 (diff) | |
download | gcc-0352cfc868f9080c1e08372feebd768eca4360fc.zip gcc-0352cfc868f9080c1e08372feebd768eca4360fc.tar.gz gcc-0352cfc868f9080c1e08372feebd768eca4360fc.tar.bz2 |
class.c (build_vtable): Use build_lang_decl when building vtables, not just build_decl.
* class.c (build_vtable): Use build_lang_decl when building
vtables, not just build_decl.
(prepare_fresh_vtable): Likewise.
* decl.c (wrapup_globals_for_namespace): Mark vtables as
DECL_EXTERNAL when calling wrapup_global_declarations.
* decl2.c (priority_info_s): Add initializations_p and
destructions_p members.
(finish_vtable_vardecl): Use TREE_SYMBOL_REFERENCED, not TREE_USED,
when deciding what vtables to write out.
(ssdf_decls): New variable.
(ssdf_decls_used): Likewise.
(start_static_storage_duration_function): Deal with being called
multiple times. Avoid inlining this function.
(generate_inits_for_priority): Deal with reuse of priority map.
(get_priority_info): Clear initializations_p and destructions_p.
(do_static_initialization): Tweak comment.
(do_static_destruction): Likewise. Fix condition on sentries for
destruction.
(generate_ctor_or_dtor_function): Call all of the static storage
duration functions.
(generate_ctor_or_dtor_function_for_priority): Check
initializations_p and destructions_p to see what priorities need
initialization functions.
(finish_file): Rework to generate multiple static storage duration
functions, rather than just one.
From-SVN: r26713
Diffstat (limited to 'gcc/java')
0 files changed, 0 insertions, 0 deletions