Commit 79e8ec0e by Andreas Jaeger

(forgot in last checkin)

Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.

From-SVN: r45223
parent c23bb84b
...@@ -4203,26 +4203,15 @@ void ...@@ -4203,26 +4203,15 @@ void
emit_library_call VPARAMS((rtx orgfun, enum libcall_type fn_type, emit_library_call VPARAMS((rtx orgfun, enum libcall_type fn_type,
enum machine_mode outmode, int nargs, ...)) enum machine_mode outmode, int nargs, ...))
{ {
#ifndef ANSI_PROTOTYPES VA_OPEN (p, nargs);
rtx orgfun; VA_FIXEDARG (p, rtx, orgfun);
int fn_type; VA_FIXEDARG (p, int, fn_type);
enum machine_mode outmode; VA_FIXEDARG (p, enum machine_mode, outmode);
int nargs; VA_FIXEDARG (p, int, nargs);
#endif
va_list p;
VA_START (p, nargs);
#ifndef ANSI_PROTOTYPES
orgfun = va_arg (p, rtx);
fn_type = va_arg (p, int);
outmode = va_arg (p, enum machine_mode);
nargs = va_arg (p, int);
#endif
emit_library_call_value_1 (0, orgfun, NULL_RTX, fn_type, outmode, nargs, p); emit_library_call_value_1 (0, orgfun, NULL_RTX, fn_type, outmode, nargs, p);
va_end (p); VA_CLOSE (p);
} }
/* Like emit_library_call except that an extra argument, VALUE, /* Like emit_library_call except that an extra argument, VALUE,
...@@ -4238,28 +4227,16 @@ emit_library_call_value VPARAMS((rtx orgfun, rtx value, ...@@ -4238,28 +4227,16 @@ emit_library_call_value VPARAMS((rtx orgfun, rtx value,
enum libcall_type fn_type, enum libcall_type fn_type,
enum machine_mode outmode, int nargs, ...)) enum machine_mode outmode, int nargs, ...))
{ {
#ifndef ANSI_PROTOTYPES VA_OPEN (p, nargs);
rtx orgfun; VA_FIXEDARG (p, rtx, orgfun);
rtx value; VA_FIXEDARG (p, rtx, value);
int fn_type; VA_FIXEDARG (p, int, fn_type);
enum machine_mode outmode; VA_FIXEDARG (p, enum machine_mode, outmode);
int nargs; VA_FIXEDARG (p, int, nargs);
#endif
va_list p;
VA_START (p, nargs);
#ifndef ANSI_PROTOTYPES
orgfun = va_arg (p, rtx);
value = va_arg (p, rtx);
fn_type = va_arg (p, int);
outmode = va_arg (p, enum machine_mode);
nargs = va_arg (p, int);
#endif
value = emit_library_call_value_1 (1, orgfun, value, fn_type, outmode, nargs, p); value = emit_library_call_value_1 (1, orgfun, value, fn_type, outmode, nargs, p);
va_end (p); VA_CLOSE (p);
return value; return value;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment