gdb: remove TYPE_VECTOR

gdb/ChangeLog:

	* gdbtypes.h (TYPE_VECTOR): Remove, replace all
	uses with type::is_vector.

Change-Id: I1ac28755af44b1585c190553f9961288c8fb9137
This commit is contained in:
Simon Marchi
2020-09-14 11:08:03 -04:00
parent 2062087b35
commit bd63c87008
29 changed files with 96 additions and 92 deletions

View File

@ -303,7 +303,7 @@ sparc_structure_or_union_p (const struct type *type)
static bool
sparc_structure_return_p (const struct type *type)
{
if (type->code () == TYPE_CODE_ARRAY && TYPE_VECTOR (type))
if (type->code () == TYPE_CODE_ARRAY && type->is_vector ())
{
/* Float vectors are always returned by memory. */
if (sparc_floating_p (check_typedef (TYPE_TARGET_TYPE (type))))
@ -331,7 +331,7 @@ sparc_structure_return_p (const struct type *type)
static bool
sparc_arg_by_memory_p (const struct type *type)
{
if (type->code () == TYPE_CODE_ARRAY && TYPE_VECTOR (type))
if (type->code () == TYPE_CODE_ARRAY && type->is_vector ())
{
/* Float vectors are always passed by memory. */
if (sparc_floating_p (check_typedef (TYPE_TARGET_TYPE (type))))