diff options
author | Mark Mitchell <mark@codesourcery.com> | 2001-02-12 09:58:18 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2001-02-12 09:58:18 +0000 |
commit | 1f84ec231e3abac2f8fc874a6231d337cd03897b (patch) | |
tree | 1ceebcb928abd0eff2f89a79f7f7fa861efccbc3 /gcc/cp/repo.c | |
parent | 11662aaaa54c005e951850b36f7c6b53f6c6d709 (diff) | |
download | gcc-1f84ec231e3abac2f8fc874a6231d337cd03897b.zip gcc-1f84ec231e3abac2f8fc874a6231d337cd03897b.tar.gz gcc-1f84ec231e3abac2f8fc874a6231d337cd03897b.tar.bz2 |
Remove old ABI support.
From-SVN: r39599
Diffstat (limited to 'gcc/cp/repo.c')
-rw-r--r-- | gcc/cp/repo.c | 21 |
1 files changed, 1 insertions, 20 deletions
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; |