diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2020-09-14 11:08:03 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-09-14 11:08:03 -0400 |
commit | bd63c870088388fc55efbf50f2dfc0592fe874e5 (patch) | |
tree | fc002e3c53ff9e8ae8a194b83cc9c87c5292d448 /gdb/arm-tdep.c | |
parent | 2062087b358cc5320d52b32c50866dbd08fb2631 (diff) | |
download | gdb-bd63c870088388fc55efbf50f2dfc0592fe874e5.zip gdb-bd63c870088388fc55efbf50f2dfc0592fe874e5.tar.gz gdb-bd63c870088388fc55efbf50f2dfc0592fe874e5.tar.bz2 |
gdb: remove TYPE_VECTOR
gdb/ChangeLog:
* gdbtypes.h (TYPE_VECTOR): Remove, replace all
uses with type::is_vector.
Change-Id: I1ac28755af44b1585c190553f9961288c8fb9137
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index ecf65f2..5470332 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -3417,7 +3417,7 @@ static ULONGEST arm_type_align (gdbarch *gdbarch, struct type *t) { t = check_typedef (t); - if (t->code () == TYPE_CODE_ARRAY && TYPE_VECTOR (t)) + if (t->code () == TYPE_CODE_ARRAY && t->is_vector ()) { /* Use the natural alignment for vector types (the same for scalar type), but the maximum alignment is 64-bit. */ @@ -3562,7 +3562,7 @@ arm_vfp_cprc_sub_candidate (struct type *t, case TYPE_CODE_ARRAY: { - if (TYPE_VECTOR (t)) + if (t->is_vector ()) { /* A 64-bit or 128-bit containerized vector type are VFP CPRCs. */ @@ -8017,7 +8017,7 @@ arm_return_in_memory (struct gdbarch *gdbarch, struct type *type) && TYPE_CODE_ARRAY != code && TYPE_CODE_COMPLEX != code) return 0; - if (TYPE_CODE_ARRAY == code && TYPE_VECTOR (type)) + if (TYPE_CODE_ARRAY == code && type->is_vector ()) { /* Vector values should be returned using ARM registers if they are not over 16 bytes. */ |