method.c
30.9 KB
-
class.c (build_vtbl_initializer): Don't use build_vtable_entry. · bb5e8a7f
* class.c (build_vtbl_initializer): Don't use build_vtable_entry. (build_vtable_entry): Remove. * cp-tree.h (BINFO_VIRTUALS): Expand documentation. (lang_decl): Add thunks. (DECL_THUNKS): New macro. * decl.c (duplicate_decls): Copy it. * method.c (make_thunk): Simplify, and add thunks to DECL_THUNKS. * semantics.c (emit_associated_thunks): Simplify. * g++.dg/abi/vthunk2.C: New test. From-SVN: r58536
Mark Mitchell committed