summaryrefslogtreecommitdiffstats
path: root/gcc/cp/except.c
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-12 09:58:18 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-12 09:58:18 +0000
commit606b494c921cdec65e0e1674152da263f4b94760 (patch)
tree1ceebcb928abd0eff2f89a79f7f7fa861efccbc3 /gcc/cp/except.c
parent8ae0275adaab33e9c31ce62ef1a7d575349915e3 (diff)
downloadppe42-gcc-606b494c921cdec65e0e1674152da263f4b94760.tar.gz
ppe42-gcc-606b494c921cdec65e0e1674152da263f4b94760.zip
Remove old ABI support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39599 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/except.c')
-rw-r--r--gcc/cp/except.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/cp/except.c b/gcc/cp/except.c
index bcca6863bcb..e53582100e3 100644
--- a/gcc/cp/except.c
+++ b/gcc/cp/except.c
@@ -867,8 +867,6 @@ expand_throw (exp)
tree arg_types;
arg_types = void_list_node;
- if (!flag_new_abi)
- arg_types = tree_cons (NULL_TREE, integer_type_node, arg_types);
arg_types = tree_cons (NULL_TREE, ptr_type_node, arg_types);
cleanup_type = (build_pointer_type
(build_function_type (void_type_node, arg_types)));
@@ -927,9 +925,7 @@ expand_throw (exp)
if (TYPE_HAS_DESTRUCTOR (TREE_TYPE (object)))
{
cleanup = lookup_fnfields (TYPE_BINFO (TREE_TYPE (object)),
- (flag_new_abi
- ? complete_dtor_identifier
- : dtor_identifier),
+ complete_dtor_identifier,
0);
cleanup = TREE_VALUE (cleanup);
mark_used (cleanup);
OpenPOWER on IntegriCloud