]> git.ipfire.org Git - thirdparty/gcc.git/commit
Simplify rtti, now we've only one ABI.
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 24 Jul 2001 08:56:12 +0000 (08:56 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 24 Jul 2001 08:56:12 +0000 (08:56 +0000)
commit7f54a8510be3f690e7d90c52d57f7d0a9dd8dca8
treeee470380ada8005d8b6a7b87fcf4811521bc9c01
parent8f54d2fffdddf8dab5a7820d284c4aeaa0e837b2
Simplify rtti, now we've only one ABI.

* cp-tree.h (cp_tree_index): Remove CPTI_TINFO_DECL_ID,
CPTI_TINFO_VAR_ID.
(tinfo_decl_id, tinfo_var_id): Remove.
(get_typeid_1): Remove.
* rtti.c
(init_rtti_processing): Remove tinfo_decl_id & tinfo_var_id.
(typeid_ok_p): New function.
(build_type_id): Call typeid_ok_p. Don't call tinfo_from_decl.
(get_tinfo_decl): Remove old abi documentation.
(tinfo_from_decl): Remove.
(get_type_id): Call typeid_ok_p. Absorb get_typeid_1.
(get_typeid_1): Remove.
(get_base_offset): Remove.
(synthesize_tinfo_var): Absorb get_base_offset.
(create_real_tinfo_var): Don't use tinfo_decl_id.

From-SVN: r44291
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/rtti.c