Convert lvalue reference type check to general reference type check
[deliverable/binutils-gdb.git] / gdb / s390-linux-tdep.c
index 2af2c7a3139d18a2d0e106be2cbe0bfacbe491ab..55129d81f4c5cb0dc634ff83b8ba6a8a92209b00 100644 (file)
@@ -3104,7 +3104,7 @@ s390_function_arg_integer (struct type *type)
       || code == TYPE_CODE_CHAR
       || code == TYPE_CODE_BOOL
       || code == TYPE_CODE_PTR
-      || code == TYPE_CODE_REF)
+      || TYPE_IS_REFERENCE (type))
     return 1;
 
   return ((code == TYPE_CODE_UNION || code == TYPE_CODE_STRUCT)
This page took 0.035984 seconds and 4 git commands to generate.