gdb: remove TYPE_NFIELDS macro
[deliverable/binutils-gdb.git] / gdb / score-tdep.c
index 98ebeb2fcfcc01d7b3a569def98c888c4c9de568..b4f00e46ad4a81ebdfaeee8572dff9cf57648946 100644 (file)
@@ -478,7 +478,7 @@ score_type_needs_double_align (struct type *type)
     {
       int i, n;
 
-      n = TYPE_NFIELDS (type);
+      n = type->num_fields ();
       for (i = 0; i < n; i++)
         if (score_type_needs_double_align (TYPE_FIELD_TYPE (type, i)))
           return 1;
This page took 0.023952 seconds and 4 git commands to generate.