Convert lvalue reference type check to general reference type check
[deliverable/binutils-gdb.git] / gdb / darwin-nat-info.c
index 1c54a44ab42e386234eb02853b5136884c75f5d0..91bc5b3d542821171a3b0fa7af5ccc1fde7b40cf 100644 (file)
@@ -731,7 +731,7 @@ info_mach_region_command (char *exp, int from_tty)
 
   expression_up expr = parse_expression (exp);
   val = evaluate_expression (expr.get ());
-  if (TYPE_CODE (value_type (val)) == TYPE_CODE_REF)
+  if (TYPE_IS_REFERENCE (value_type (val)))
     {
       val = value_ind (val);
     }
This page took 0.035039 seconds and 4 git commands to generate.