Simplify rtti, now we've only one ABI.
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Jul 2001 08:56:12 +0000 (08:56 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Jul 2001 08:56:12 +0000 (08:56 +0000)
commitaaf2d6f650bd8601d8770d05cc64c266c057ace6
treeee470380ada8005d8b6a7b87fcf4811521bc9c01
parentb98bcd6654c8407ebd6e4c0da412e62fd9127889
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44291 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/rtti.c