Convert lvalue reference type check to general reference type check
[deliverable/binutils-gdb.git] / gdb / ax-gdb.c
index 3587b5d392cbe3583876ac79da189706a0cc2e8a..01099f5abaff4dd5f7a21cc06c43dce362525887 100644 (file)
@@ -491,6 +491,7 @@ gen_fetch (struct agent_expr *ax, struct type *type)
     {
     case TYPE_CODE_PTR:
     case TYPE_CODE_REF:
+    case TYPE_CODE_RVALUE_REF:
     case TYPE_CODE_ENUM:
     case TYPE_CODE_INT:
     case TYPE_CODE_CHAR:
@@ -1000,6 +1001,7 @@ gen_cast (struct agent_expr *ax, struct axs_value *value, struct type *type)
     {
     case TYPE_CODE_PTR:
     case TYPE_CODE_REF:
+    case TYPE_CODE_RVALUE_REF:
       /* It's implementation-defined, and I'll bet this is what GCC
          does.  */
       break;
This page took 0.027831 seconds and 4 git commands to generate.