From 1f84ec231e3abac2f8fc874a6231d337cd03897b Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Mon, 12 Feb 2001 09:58:18 +0000 Subject: Remove old ABI support. From-SVN: r39599 --- gcc/cp/repo.c | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'gcc/cp/repo.c') diff --git a/gcc/cp/repo.c b/gcc/cp/repo.c index 8feab83..e86e1f0 100644 --- a/gcc/cp/repo.c +++ b/gcc/cp/repo.c @@ -1,5 +1,5 @@ /* Code to maintain a C++ template repository. - Copyright (C) 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001 Free Software Foundation, Inc. Contributed by Jason Merrill (jason@cygnus.com) This file is part of GNU CC. @@ -107,25 +107,6 @@ repo_get_id (t) vtable = get_vtbl_decl_for_binfo (TYPE_BINFO (t)); - /* If we don't have a primary vtable, try looking for a secondary - vtable. */ - if (vtable == NULL_TREE && !flag_new_abi - && TYPE_USES_VIRTUAL_BASECLASSES (t)) - { - tree binfos = BINFO_BASETYPES (TYPE_BINFO (t)); - int i, n_baselinks = binfos ? TREE_VEC_LENGTH (binfos) : 0; - for (i = 0; i < n_baselinks; ++i) - { - tree base_binfo = TREE_VEC_ELT (binfos, i); - if (TREE_VIA_VIRTUAL (base_binfo)) - { - vtable = get_vtbl_decl_for_binfo (base_binfo); - if (vtable) - break; - } - } - } - t = vtable; if (t == NULL_TREE) return t; -- cgit v1.1