diff options
Diffstat (limited to 'gcc/cp/except.c')
| -rw-r--r-- | gcc/cp/except.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/gcc/cp/except.c b/gcc/cp/except.c index 2dbdbd3..0a9bcf5 100644 --- a/gcc/cp/except.c +++ b/gcc/cp/except.c @@ -245,13 +245,13 @@ call_eh_info () /* struct cp_eh_info. This must match exception.cc. Note that this type is not pushed anywhere. */ t1= make_lang_type (RECORD_TYPE); - fields[0] = build_lang_field_decl (FIELD_DECL, + fields[0] = build_lang_decl (FIELD_DECL, get_identifier ("handler_label"), ptr_type_node); - fields[1] = build_lang_field_decl (FIELD_DECL, + fields[1] = build_lang_decl (FIELD_DECL, get_identifier ("dynamic_handler_chain"), ptr_type_node); - fields[2] = build_lang_field_decl (FIELD_DECL, + fields[2] = build_lang_decl (FIELD_DECL, get_identifier ("info"), ptr_type_node); - fields[3] = build_lang_field_decl (FIELD_DECL, + fields[3] = build_lang_decl (FIELD_DECL, get_identifier ("table_index"), ptr_type_node); /* N.B.: The fourth field LEN is expected to be the number of fields - 1, not the total number of fields. */ @@ -259,32 +259,32 @@ call_eh_info () t1 = build_pointer_type (t1); t1= make_lang_type (RECORD_TYPE); - fields[0] = build_lang_field_decl (FIELD_DECL, + fields[0] = build_lang_decl (FIELD_DECL, get_identifier ("match_function"), ptr_type_node); - fields[1] = build_lang_field_decl (FIELD_DECL, + fields[1] = build_lang_decl (FIELD_DECL, get_identifier ("language"), short_integer_type_node); - fields[2] = build_lang_field_decl (FIELD_DECL, + fields[2] = build_lang_decl (FIELD_DECL, get_identifier ("version"), short_integer_type_node); /* N.B.: The fourth field LEN is expected to be the number of fields - 1, not the total number of fields. */ finish_builtin_type (t1, "__eh_info", fields, 2, ptr_type_node); t = make_lang_type (RECORD_TYPE); - fields[0] = build_lang_field_decl (FIELD_DECL, - get_identifier ("eh_info"), t1); - fields[1] = build_lang_field_decl (FIELD_DECL, get_identifier ("value"), - ptr_type_node); - fields[2] = build_lang_field_decl (FIELD_DECL, get_identifier ("type"), - ptr_type_node); - fields[3] = build_lang_field_decl + fields[0] = build_lang_decl (FIELD_DECL, + get_identifier ("eh_info"), t1); + fields[1] = build_lang_decl (FIELD_DECL, get_identifier ("value"), + ptr_type_node); + fields[2] = build_lang_decl (FIELD_DECL, get_identifier ("type"), + ptr_type_node); + fields[3] = build_lang_decl (FIELD_DECL, get_identifier ("cleanup"), build_pointer_type (build_function_type (ptr_type_node, tree_cons (NULL_TREE, ptr_type_node, void_list_node)))); - fields[4] = build_lang_field_decl (FIELD_DECL, get_identifier ("caught"), - boolean_type_node); - fields[5] = build_lang_field_decl (FIELD_DECL, get_identifier ("next"), - build_pointer_type (t)); - fields[6] = build_lang_field_decl + fields[4] = build_lang_decl (FIELD_DECL, get_identifier ("caught"), + boolean_type_node); + fields[5] = build_lang_decl (FIELD_DECL, get_identifier ("next"), + build_pointer_type (t)); + fields[6] = build_lang_decl (FIELD_DECL, get_identifier ("handlers"), long_integer_type_node); /* N.B.: The fourth field LEN is expected to be the number of fields - 1, not the total number of fields. */ |
