* java-gimplify.c (java_gimplify_labeled_block_expr): Use
buildN instead of build.
* class.c (finish_class): Likewise.
* expr.c (java_create_object): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107904
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-12-02 Richard Guenther <rguenther@suse.de>
+
+ * java-gimplify.c (java_gimplify_labeled_block_expr): Use
+ buildN instead of build.
+ * class.c (finish_class): Likewise.
+ * expr.c (java_create_object): Likewise.
+
2005-11-28 Tom Tromey <tromey@redhat.com>
PR java/18278:
tree verify_method = TYPE_VERIFY_METHOD (output_class);
DECL_SAVED_TREE (verify_method)
= add_stmt_to_compound (DECL_SAVED_TREE (verify_method), void_type_node,
- build (RETURN_EXPR, void_type_node, NULL));
+ build1 (RETURN_EXPR, void_type_node, NULL));
java_genericize (verify_method);
cgraph_finalize_function (verify_method, false);
TYPE_ASSERTIONS (current_class) = NULL;
? alloc_object_node
: alloc_no_finalizer_node);
- return build (CALL_EXPR, promote_type (type),
- build_address_of (alloc_node),
- build_tree_list (NULL_TREE, build_class_ref (type)),
- NULL_TREE);
+ return build3 (CALL_EXPR, promote_type (type),
+ build_address_of (alloc_node),
+ build_tree_list (NULL_TREE, build_class_ref (type)),
+ NULL_TREE);
}
static void
tree t;
DECL_CONTEXT (label) = current_function_decl;
- t = build (LABEL_EXPR, void_type_node, label);
+ t = build1 (LABEL_EXPR, void_type_node, label);
if (body != NULL_TREE)
- t = build (COMPOUND_EXPR, void_type_node, body, t);
+ t = build2 (COMPOUND_EXPR, void_type_node, body, t);
return t;
}