forked from Imagelibrary/binutils-gdb
gdb: remove TYPE_RANGE_DATA macro
Remove it in favor of using type::bounds directly. gdb/ChangeLog: * gdbtypes.h (TYPE_RANGE_DATA): Remove. Update callers to use the type::bounds method directly. Change-Id: Id4fab22af0a94cbf505f78b01b3ee5b3d682fba2
This commit is contained in:
@@ -504,7 +504,7 @@ generate_vla_size (compile_instance *compiler,
|
||||
if (TYPE_HIGH_BOUND_KIND (type) == PROP_LOCEXPR
|
||||
|| TYPE_HIGH_BOUND_KIND (type) == PROP_LOCLIST)
|
||||
{
|
||||
const struct dynamic_prop *prop = &TYPE_RANGE_DATA (type)->high;
|
||||
const struct dynamic_prop *prop = &type->bounds ()->high;
|
||||
std::string name = c_get_range_decl_name (prop);
|
||||
|
||||
dwarf2_compile_property_to_c (stream, name.c_str (),
|
||||
|
||||
Reference in New Issue
Block a user