Unify arch_integer_type and init_integer_type
This unifies arch_integer_type and init_integer_type by using a type allocator. Reviewed-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
parent
333859402c
commit
2d39ccd3d1
21 changed files with 201 additions and 205 deletions
|
@ -577,7 +577,7 @@ read_base_type (struct ctf_context *ccp, ctf_id_t tid)
|
|||
bits = cet.cte_bits;
|
||||
else
|
||||
bits = gdbarch_int_bit (gdbarch);
|
||||
type = init_integer_type (of, bits, !issigned, name);
|
||||
type = init_integer_type (alloc, bits, !issigned, name);
|
||||
}
|
||||
}
|
||||
else if (kind == CTF_K_FLOAT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue