spu.c (spu_gimplify_va_arg_expr): Call pass_by_reference instead of spu_pass_by_refer...
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 4 May 2011 12:43:05 +0000 (12:43 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Wed, 4 May 2011 12:43:05 +0000 (12:43 +0000)
* config/spu/spu.c (spu_gimplify_va_arg_expr): Call pass_by_reference
instead of spu_pass_by_reference.

From-SVN: r173372

gcc/ChangeLog
gcc/config/spu/spu.c

index 1f6d535c81e52abb5ec0c8056b03a441aff81fc6..523dd67836d9a9590feb31637c1f4c027f447e43 100644 (file)
@@ -1,3 +1,8 @@
+2011-05-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * config/spu/spu.c (spu_gimplify_va_arg_expr): Call pass_by_reference
+       instead of spu_pass_by_reference.
+
 2011-05-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
 
        * calls.c (emit_library_call_value_1): Invoke
index f93c14c39d52e887e7207d0a66f44c1251df1d90..a6c76581b339431c109ba07e51d1bef23e8c329b 100644 (file)
@@ -4245,8 +4245,8 @@ spu_gimplify_va_arg_expr (tree valist, tree type, gimple_seq * pre_p,
 
   /* if an object is dynamically sized, a pointer to it is passed
      instead of the object itself. */
-  pass_by_reference_p = spu_pass_by_reference (NULL, TYPE_MODE (type), type,
-                                              false);
+  pass_by_reference_p = pass_by_reference (NULL, TYPE_MODE (type), type,
+                                          false);
   if (pass_by_reference_p)
     type = build_pointer_type (type);
   size = int_size_in_bytes (type);