rtti.c (get_vmi_pseudo_type_info): Move __vmi_class_type_info pseudo_type_info creation into the std namespace

* rtti.c (get_vmi_pseudo_type_info): Move __vmi_class_type_info
	pseudo_type_info creation into the std namespace

From-SVN: r32209
This commit is contained in:
Alfred Minarik 2000-02-27 03:52:55 +01:00 committed by Mark Mitchell
parent 27d26ee7a7
commit 4278955754
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2000-02-25 Alfred Minarik <a8601248@unet.univie.ac.at>
* rtti.c (get_vmi_pseudo_type_info): Move __vmi_class_type_info
pseudo_type_info creation into the std namespace
2000-02-26 Mark Mitchell <mark@codesourcery.com>
* cp-tree.h (DECL_NEEDED_P): Tweak to correct usage before EOF.

View file

@ -1734,12 +1734,19 @@ get_vmi_pseudo_type_info (num_bases)
array_domain = build_index_type (build_int_2 (num_bases, 0));
base_array = build_array_type (base_desc_type_node, array_domain);
if (flag_honor_std)
push_namespace (get_identifier ("std"));
desc = create_pseudo_type_info
("__vmi_class_type_info", num_bases,
build_lang_decl (FIELD_DECL, NULL_TREE, integer_type_node),
build_lang_decl (FIELD_DECL, NULL_TREE, integer_type_node),
build_lang_decl (FIELD_DECL, NULL_TREE, base_array),
NULL);
if (flag_honor_std)
pop_namespace ();
TREE_VEC_ELT (vmi_class_desc_type_node, num_bases) = desc;
return desc;
}