gdb: remove TYPE_INDEX_TYPE macro
[deliverable/binutils-gdb.git] / gdb / compile / compile-cplus-types.c
index eb70dfe967a44747e936033d32070e92bfad01db..20d84a549653d33e6ee743481646ecc1238b3e6e 100644 (file)
@@ -453,7 +453,7 @@ static gcc_type
 compile_cplus_convert_array (compile_cplus_instance *instance,
                             struct type *type)
 {
-  struct type *range = TYPE_INDEX_TYPE (type);
+  struct type *range = type->index_type ();
   gcc_type element_type = instance->convert_type (TYPE_TARGET_TYPE (type));
 
   if (TYPE_LOW_BOUND_KIND (range) != PROP_CONST)
This page took 0.025218 seconds and 4 git commands to generate.