Pass a type allocator to init_fixed_point_type

init_fixed_point_type currently takes an objfile and creates its own
type allocator.  However, for a later patch it is more convenient if
this function accepts a type allocator.  This patch makes this change.
This commit is contained in:
Tom Tromey
2023-09-05 12:43:50 -06:00
parent 8e032233a0
commit d559227272
3 changed files with 5 additions and 5 deletions

View File

@@ -2379,7 +2379,7 @@ extern struct type *init_pointer_type (type_allocator &alloc, int bit,
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