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:
parent
2062087b35
commit
bd63c87008
29 changed files with 96 additions and 92 deletions
|
@ -56,7 +56,7 @@ convert_array (compile_c_instance *context, struct type *type)
|
|||
{
|
||||
gcc_type result;
|
||||
|
||||
if (TYPE_VECTOR (type))
|
||||
if (type->is_vector ())
|
||||
return context->plugin ().error (_("variably-sized vector type"
|
||||
" is not supported"));
|
||||
|
||||
|
@ -78,7 +78,7 @@ convert_array (compile_c_instance *context, struct type *type)
|
|||
count = high_bound + 1;
|
||||
}
|
||||
|
||||
if (TYPE_VECTOR (type))
|
||||
if (type->is_vector ())
|
||||
return context->plugin ().build_vector_type (element_type, count);
|
||||
return context->plugin ().build_array_type (element_type, count);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue