spu.c (spu_gimplify_va_arg_expr): Call pass_by_reference instead of spu_pass_by_reference.
* config/spu/spu.c (spu_gimplify_va_arg_expr): Call pass_by_reference instead of spu_pass_by_reference. From-SVN: r173372
This commit is contained in:
parent
5e617be801
commit
a207915ac3
|
@ -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>
|
2011-05-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
||||||
|
|
||||||
* calls.c (emit_library_call_value_1): Invoke
|
* calls.c (emit_library_call_value_1): Invoke
|
||||||
|
|
|
@ -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
|
/* if an object is dynamically sized, a pointer to it is passed
|
||||||
instead of the object itself. */
|
instead of the object itself. */
|
||||||
pass_by_reference_p = spu_pass_by_reference (NULL, TYPE_MODE (type), type,
|
pass_by_reference_p = pass_by_reference (NULL, TYPE_MODE (type), type,
|
||||||
false);
|
false);
|
||||||
if (pass_by_reference_p)
|
if (pass_by_reference_p)
|
||||||
type = build_pointer_type (type);
|
type = build_pointer_type (type);
|
||||||
size = int_size_in_bytes (type);
|
size = int_size_in_bytes (type);
|
||||||
|
|
Loading…
Reference in New Issue