mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
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:
@ -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))))
|
||||
|
Reference in New Issue
Block a user