forked from Imagelibrary/binutils-gdb
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user