ld -plugin options when plugins are disabled
[deliverable/binutils-gdb.git] / gdb / m68hc11-tdep.c
index fb3b18ac7184e4ae1d2a62ae2f1c189621906e05..84d475b5f7a46df7a4e9484aa53a8c6bb3438a20 100644 (file)
@@ -1290,9 +1290,9 @@ m68hc11_return_value (struct gdbarch *gdbarch, struct value *function,
                      struct type *valtype, struct regcache *regcache,
                      gdb_byte *readbuf, const gdb_byte *writebuf)
 {
-  if (TYPE_CODE (valtype) == TYPE_CODE_STRUCT
-      || TYPE_CODE (valtype) == TYPE_CODE_UNION
-      || TYPE_CODE (valtype) == TYPE_CODE_ARRAY 
+  if (valtype->code () == TYPE_CODE_STRUCT
+      || valtype->code () == TYPE_CODE_UNION
+      || valtype->code () == TYPE_CODE_ARRAY
       || TYPE_LENGTH (valtype) > 4)
     return RETURN_VALUE_STRUCT_CONVENTION;
   else
This page took 0.023975 seconds and 4 git commands to generate.