@@ -23305,46 +23305,6 @@ gen_field_die (tree decl, struct vlr_context *ctx, dw_die_ref context_die)
23305
23305
equate_decl_number_to_die (decl, decl_die);
23306
23306
}
23307
23307
23308
- #if 0
23309
- /* Don't generate either pointer_type DIEs or reference_type DIEs here.
23310
- Use modified_type_die instead.
23311
- We keep this code here just in case these types of DIEs may be needed to
23312
- represent certain things in other languages (e.g. Pascal) someday. */
23313
-
23314
- static void
23315
- gen_pointer_type_die (tree type, dw_die_ref context_die)
23316
- {
23317
- dw_die_ref ptr_die
23318
- = new_die (DW_TAG_pointer_type, scope_die_for (type, context_die), type);
23319
-
23320
- equate_type_number_to_die (type, ptr_die);
23321
- add_type_attribute (ptr_die, TREE_TYPE (type), TYPE_UNQUALIFIED, false,
23322
- context_die);
23323
- add_AT_unsigned (mod_type_die, DW_AT_byte_size, PTR_SIZE);
23324
- }
23325
-
23326
- /* Don't generate either pointer_type DIEs or reference_type DIEs here.
23327
- Use modified_type_die instead.
23328
- We keep this code here just in case these types of DIEs may be needed to
23329
- represent certain things in other languages (e.g. Pascal) someday. */
23330
-
23331
- static void
23332
- gen_reference_type_die (tree type, dw_die_ref context_die)
23333
- {
23334
- dw_die_ref ref_die, scope_die = scope_die_for (type, context_die);
23335
-
23336
- if (TYPE_REF_IS_RVALUE (type) && dwarf_version >= 4)
23337
- ref_die = new_die (DW_TAG_rvalue_reference_type, scope_die, type);
23338
- else
23339
- ref_die = new_die (DW_TAG_reference_type, scope_die, type);
23340
-
23341
- equate_type_number_to_die (type, ref_die);
23342
- add_type_attribute (ref_die, TREE_TYPE (type), TYPE_UNQUALIFIED, false,
23343
- context_die);
23344
- add_AT_unsigned (mod_type_die, DW_AT_byte_size, PTR_SIZE);
23345
- }
23346
- #endif
23347
-
23348
23308
/* Generate a DIE for a pointer to a member type. TYPE can be an
23349
23309
OFFSET_TYPE, for a pointer to data member, or a RECORD_TYPE, for a
23350
23310
pointer to member function. */
0 commit comments