diff options
author | Nathan Sidwell <nathan@acm.org> | 2017-06-16 14:16:20 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2017-06-16 14:16:20 +0000 |
commit | ac9a1c7ec54f41e5d470593ce982bc55ab9dcb19 (patch) | |
tree | bd162154bfe7d92bda57af3891c25aa91ea4baaf /gcc/cp/method.c | |
parent | bfe8a528aa35b66146fa7bac8ea0c1a5bc48bb70 (diff) | |
download | gcc-ac9a1c7ec54f41e5d470593ce982bc55ab9dcb19.zip gcc-ac9a1c7ec54f41e5d470593ce982bc55ab9dcb19.tar.gz gcc-ac9a1c7ec54f41e5d470593ce982bc55ab9dcb19.tar.bz2 |
Make rtti lazier
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.
From-SVN: r249258
Diffstat (limited to 'gcc/cp/method.c')
0 files changed, 0 insertions, 0 deletions