Remove special CDtor METHOD_VEC slots.
commit35ea2ff701dff37e172c75cb97440d38e3353d8f
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Jul 2017 18:11:23 +0000 (21 18:11 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Jul 2017 18:11:23 +0000 (21 18:11 +0000)
tree40eed787fa8bb290e048d9e89f14178097fc674a
parent527223661a797d2f96dc2d0fbb651f1725b8ad90
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.

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