diff options
Diffstat (limited to 'gcc/cp/except.c')
-rw-r--r-- | gcc/cp/except.c | 6 |
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); |