diff options
author | Mark Mitchell <mark@codesourcery.com> | 2001-02-12 09:58:18 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2001-02-12 09:58:18 +0000 |
commit | bf268ee7654b23e61a29b178f6e694bcd5029f45 (patch) | |
tree | 1ceebcb928abd0eff2f89a79f7f7fa861efccbc3 /gcc/cp/repo.c | |
parent | 308491a84efc76d038ddfa5b75d6bd132b492abc (diff) |
Remove old ABI support.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@39599 138bc75d-0d04-0410-961f-82ee72b054a4
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 8feab839038..e86e1f0805b 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; |