+2003-07-17 Steven Bosscher <steven@gcc.gnu.org>
+
+ * c-common.c (c_estimate_num_insns_1): Don't handle
+ METHOD_CALL_EXPR.
+ * expr.c (safe_from_p): Likewise.
+ * gengtype.c (adjust_field_tree_exp): Likewise.
+ * stmt.c (warn_if_unused_value): Likewise
+ * tree.c (first_rtl_op): Likewise.
+ * tree.def: Don't define METHOD_CALL_EXPR.
+ * java/lang.c (java_estimate_num_insns_1): Don't handle
+ METHOD_CALL_EXPR.
+
2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
PR other/11466
case ROUND_MOD_EXPR:
case RDIV_EXPR:
case CALL_EXPR:
- case METHOD_CALL_EXPR:
*count += 10;
break;
/* Various containers that will produce no code themselves. */
part of the expression. */
return safe_from_p (x, TREE_OPERAND (exp, 1), 0);
- case METHOD_CALL_EXPR:
- /* This takes an rtx argument, but shouldn't appear here. */
- abort ();
-
default:
break;
}
{ "GOTO_SUBROUTINE_EXPR", 0, 2 },
{ "RTL_EXPR", 0, 2 },
{ "WITH_CLEANUP_EXPR", 2, 1 },
- { "METHOD_CALL_EXPR", 3, 1 }
};
if (t->kind != TYPE_ARRAY)
case ROUND_MOD_EXPR:
case RDIV_EXPR:
case CALL_EXPR:
- case METHOD_CALL_EXPR:
case NEW_ARRAY_EXPR:
case NEW_ANONYMOUS_ARRAY_EXPR:
case INIT_EXPR:
case TARGET_EXPR:
case CALL_EXPR:
- case METHOD_CALL_EXPR:
case RTL_EXPR:
case TRY_CATCH_EXPR:
case WITH_CLEANUP_EXPR:
return 0;
case WITH_CLEANUP_EXPR:
return 2;
- case METHOD_CALL_EXPR:
- return 3;
default:
return TREE_CODE_LENGTH (code);
}
made out of a chain of TREE_LIST nodes. */
DEFTREECODE (CALL_EXPR, "call_expr", 'e', 2)
-/* Call a method. Operand 0 is the method, whose type is a METHOD_TYPE.
- Operand 1 is the expression for "self".
- Operand 2 is the list of explicit arguments. */
-DEFTREECODE (METHOD_CALL_EXPR, "method_call_expr", 'e', 4)
-
/* Specify a value to compute along with its corresponding cleanup.
Operand 0 argument is an expression whose value needs a cleanup.
Operand 1 is the cleanup expression for the object.