gdb: remove TYPE_CODE macro
[deliverable/binutils-gdb.git] / gdb / vax-tdep.c
index 9373dc848d419de92f659ea0228cd646b04355f2..1e60fba5101d952251207e4a57f09043d17a82a8 100644 (file)
@@ -206,9 +206,9 @@ vax_return_value (struct gdbarch *gdbarch, struct value *function,
   int len = TYPE_LENGTH (type);
   gdb_byte buf[8];
 
-  if (TYPE_CODE (type) == TYPE_CODE_STRUCT
-      || TYPE_CODE (type) == TYPE_CODE_UNION
-      || TYPE_CODE (type) == TYPE_CODE_ARRAY)
+  if (type->code () == TYPE_CODE_STRUCT
+      || type->code () == TYPE_CODE_UNION
+      || type->code () == TYPE_CODE_ARRAY)
     {
       /* The default on VAX is to return structures in static memory.
          Consequently a function must return the address where we can
This page took 0.024878 seconds and 4 git commands to generate.