(va_start): Use builtin_arts_info instead of builtin_next_arg.

From-SVN: r8320
This commit is contained in:
Jim Wilson 1994-10-20 13:12:14 -07:00
parent 8ae2b8f6f1
commit 086675cba3

View File

@ -39,7 +39,8 @@ typedef unsigned __gnuc_va_list[2];
#define va_start(AP, LASTARG) \
__extension__ \
({ __asm__ ("st g14,%0" : "=m" (*(AP))); \
(AP)[1] = (unsigned) __builtin_next_arg (LASTARG) - *AP; })
(AP)[1] = (__builtin_args_info (0) + __builtin_args_info (1)) * 4; })
#else
#define va_alist __builtin_va_alist