}
break;
case DW_ATE_signed_fixed:
- type = init_fixed_point_type (objfile, bits, 0, name);
+ type = init_fixed_point_type (alloc, bits, 0, name);
finish_fixed_point_type (type, gnat_encoding_suffix, die, cu);
break;
case DW_ATE_unsigned_fixed:
- type = init_fixed_point_type (objfile, bits, 1, name);
+ type = init_fixed_point_type (alloc, bits, 1, name);
finish_fixed_point_type (type, gnat_encoding_suffix, die, cu);
break;
NAME is the type name. */
struct type *
-init_fixed_point_type (struct objfile *objfile,
+init_fixed_point_type (type_allocator &alloc,
int bit, int unsigned_p, const char *name)
{
struct type *t;
- t = type_allocator (objfile).new_type (TYPE_CODE_FIXED_POINT, bit, name);
+ t = alloc.new_type (TYPE_CODE_FIXED_POINT, bit, name);
if (unsigned_p)
t->set_is_unsigned (true);
const char *name,
struct type *target_type);
-extern struct type *init_fixed_point_type (struct objfile *, int, int,
+extern struct type *init_fixed_point_type (type_allocator &, int, int,
const char *);
/* Helper functions to construct a struct or record type. An