mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-19 01:19:41 +08:00
Remove alloc_type_copy
This removes alloc_type_copy, replacing all uses with the new type allocator. Reviewed-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@@ -939,7 +939,7 @@ rust_composite_type (struct type *original,
|
||||
const char *field1, struct type *type1,
|
||||
const char *field2, struct type *type2)
|
||||
{
|
||||
struct type *result = alloc_type_copy (original);
|
||||
struct type *result = type_allocator (original).new_type ();
|
||||
int i, nfields, bitpos;
|
||||
|
||||
nfields = 0;
|
||||
|
||||
Reference in New Issue
Block a user