aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/expr.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2005-12-02 17:04:41 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2005-12-02 17:04:41 +0000
commit1c00c223e908bcbc8808f077fcb9b719b0d002af (patch)
tree5810285eb036f44ca8a7bb28e421589ad146c775 /gcc/java/expr.c
parentd17791d66d9c108ccea13d7121419a3863762248 (diff)
downloadgcc-1c00c223e908bcbc8808f077fcb9b719b0d002af.zip
gcc-1c00c223e908bcbc8808f077fcb9b719b0d002af.tar.gz
gcc-1c00c223e908bcbc8808f077fcb9b719b0d002af.tar.bz2
java-gimplify.c (java_gimplify_labeled_block_expr): Use buildN instead of build.
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. From-SVN: r107904
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r--gcc/java/expr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index 4c2f3f4..81bd6fa 100644
--- a/gcc/java/expr.c
+++ b/gcc/java/expr.c
@@ -1312,10 +1312,10 @@ java_create_object (tree type)
? 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