Remove special CDtor METHOD_VEC slots.
authorNathan Sidwell <nathan@acm.org>
Fri, 21 Jul 2017 18:11:23 +0000 (18:11 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 21 Jul 2017 18:11:23 +0000 (18:11 +0000)
commit2401ffc3fe5f79e7a1087d8f98f5e3b8bbb1e379
tree40eed787fa8bb290e048d9e89f14178097fc674a
parent0ab71760942f9ca14b9b7530455f390271db3106
Remove special CDtor METHOD_VEC slots.

* cp-tree.h (CLASSTYPE_CONSTRUCTOR_SLOT,
CLASSTYPE_DESTRUCTOR_SLOT): Delete.
(CLASSTYPE_CONSTRUCTORS): Use lookup_fnfields_slot_nolazy.
(CLASSTYPE_DESTRUCTOR): Likewise.
* class (add_method): Don't use special cdtor slots.
* search.c (lookup_fnfields_idx_nolazy): Likewise.
(look_for_overrides_here): Use lookup_fnfields_slot.
* semantics (classtype_has_nothrow_assign_or_copy_p): Likewise.

From-SVN: r250437
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/search.c
gcc/cp/semantics.c