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/aarch64-tdep.c | |
parent | 2062087b358cc5320d52b32c50866dbd08fb2631 (diff) | |
download | binutils-bd63c870088388fc55efbf50f2dfc0592fe874e5.zip binutils-bd63c870088388fc55efbf50f2dfc0592fe874e5.tar.gz binutils-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/aarch64-tdep.c')
-rw-r--r-- | gdb/aarch64-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/aarch64-tdep.c b/gdb/aarch64-tdep.c index 61e8e57..a2547d1 100644 --- a/gdb/aarch64-tdep.c +++ b/gdb/aarch64-tdep.c @@ -1393,7 +1393,7 @@ static ULONGEST aarch64_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 128-bit. */ @@ -1453,7 +1453,7 @@ aapcs_is_vfp_call_or_return_candidate_1 (struct type *type, case TYPE_CODE_ARRAY: { - if (TYPE_VECTOR (type)) + if (type->is_vector ()) { if (TYPE_LENGTH (type) != 8 && TYPE_LENGTH (type) != 16) return -1; @@ -1760,7 +1760,7 @@ pass_in_v_vfp_candidate (struct gdbarch *gdbarch, struct regcache *regcache, } case TYPE_CODE_ARRAY: - if (TYPE_VECTOR (arg_type)) + if (arg_type->is_vector ()) return pass_in_v (gdbarch, regcache, info, TYPE_LENGTH (arg_type), value_contents (arg)); /* fall through. */ |