Make rtti lazier
commit8c13b782b3f634e37d729aebdf32219c98a49ae5
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Jun 2017 14:16:20 +0000 (16 14:16 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Jun 2017 14:16:20 +0000 (16 14:16 +0000)
treebd162154bfe7d92bda57af3891c25aa91ea4baaf
parent31c0d71d89474a671321b70f78675ce33918d280
Make rtti lazier
* rtti.c (enum tinfo_kind): Add TK_DERIVED_TYPES,
TK_VMI_CLASS_TYPES, TK_MAX.  Delete TK_FIXED.
(tinfo_names): New.
(typeid_ok_p): Add quotes to error messages.  Use get_tinfo_desc.
(get_tinfo_decl): Use get_tinfo_desc.
(get_pseudo_ti_init): Likewise. Adjust VMI construction.
(create_pseudo_type_info): Delete.
(get_pseudo_ti_index): Just determine the index.
(get_tinfo_desc): New.  Create all types lazily.
(create_tinfo_types): Just allocate the descriptor array.
(emit_support_tinfos): Use non-inserting type lookup.  Set builtin
location.

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