forked from Imagelibrary/binutils-gdb
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:
@@ -1746,16 +1746,16 @@ build_fortran_types (struct gdbarch *gdbarch)
|
||||
"logical*8");
|
||||
|
||||
builtin_f_type->builtin_integer_s1
|
||||
= arch_integer_type (gdbarch, TARGET_CHAR_BIT, 0, "integer*1");
|
||||
= init_integer_type (alloc, TARGET_CHAR_BIT, 0, "integer*1");
|
||||
|
||||
builtin_f_type->builtin_integer_s2
|
||||
= arch_integer_type (gdbarch, gdbarch_short_bit (gdbarch), 0, "integer*2");
|
||||
= init_integer_type (alloc, gdbarch_short_bit (gdbarch), 0, "integer*2");
|
||||
|
||||
builtin_f_type->builtin_integer
|
||||
= arch_integer_type (gdbarch, gdbarch_int_bit (gdbarch), 0, "integer*4");
|
||||
= init_integer_type (alloc, gdbarch_int_bit (gdbarch), 0, "integer*4");
|
||||
|
||||
builtin_f_type->builtin_integer_s8
|
||||
= arch_integer_type (gdbarch, gdbarch_long_long_bit (gdbarch), 0,
|
||||
= init_integer_type (alloc, gdbarch_long_long_bit (gdbarch), 0,
|
||||
"integer*8");
|
||||
|
||||
builtin_f_type->builtin_real
|
||||
|
||||
Reference in New Issue
Block a user