[obv] convert one last cp_build_function_call to cp_build_function_call_nary

Message ID 20100716023723.GZ12333@codesourcery.com
State New
Headers show

Commit Message

Nathan Froyd July 16, 2010, 2:37 a.m.
In my patch to convert cp_build_function_call to


I missed one call to cp_build_function_call--probably because my grep
was not expecting to find the identifier + newline.

Fixed with the patch below.  I think this qualifies as obvious.
Committed after bootstrap and test on x86_64-unknown-linux-gnu.


	* init.c (build_new_1): Use cp_build_function_call_nary instead of

Index: ChangeLog


Index: init.c
--- init.c	(revision 162238)
+++ init.c	(working copy)
@@ -2033,10 +2033,8 @@  build_new_1 (VEC(tree,gc) **placement, t
       alloc_fn = OVL_CURRENT (alloc_fn);
       class_addr = build1 (ADDR_EXPR, jclass_node, class_decl);
-      alloc_call = (cp_build_function_call
-		    (alloc_fn,
-		     build_tree_list (NULL_TREE, class_addr),
-		     complain));
+      alloc_call = cp_build_function_call_nary (alloc_fn, complain,
+						class_addr, NULL_TREE);
   else if (TYPE_FOR_JAVA (elt_type) && MAYBE_CLASS_TYPE_P (elt_type))