aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/expr.c
diff options
context:
space:
mode:
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