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/s390-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/s390-tdep.c')
-rw-r--r-- | gdb/s390-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index efe650a..fc374bc 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -75,7 +75,7 @@ s390_type_align (gdbarch *gdbarch, struct type *t) return 8; case TYPE_CODE_ARRAY: - if (TYPE_VECTOR (t)) + if (t->is_vector ()) return 8; break; } @@ -1697,7 +1697,7 @@ s390_function_arg_vector (struct type *type) /* Structs containing just a vector are passed like a vector. */ type = s390_effective_inner_type (type, TYPE_LENGTH (type)); - return type->code () == TYPE_CODE_ARRAY && TYPE_VECTOR (type); + return type->code () == TYPE_CODE_ARRAY && type->is_vector (); } /* Determine whether N is a power of two. */ @@ -2093,7 +2093,7 @@ s390_return_value (struct gdbarch *gdbarch, struct value *function, break; case TYPE_CODE_ARRAY: rvc = (gdbarch_tdep (gdbarch)->vector_abi == S390_VECTOR_ABI_128 - && TYPE_LENGTH (type) <= 16 && TYPE_VECTOR (type)) + && TYPE_LENGTH (type) <= 16 && type->is_vector ()) ? RETURN_VALUE_REGISTER_CONVENTION : RETURN_VALUE_STRUCT_CONVENTION; break; |