Ticket #1015: tango-stdarg.patch
| File tango-stdarg.patch, 1.1 kB (added by afb, 6 months ago) |
|---|
tango-stdarg.patch |
-
tango/text/convert/Layout.d
old new 40 40 *******************************************************************************/ 41 41 42 42 version (X86_64) 43 version = STDARG; 44 version (darwin) 45 version = STDARG; 46 47 version (STDARG) 43 48 { 44 49 private import std.stdarg; 45 50 alias void* Arg; … … 181 186 assert (formatStr, "null format specifier"); 182 187 assert (arguments.length < 64, "too many args in Layout.convert"); 183 188 184 version ( X86_64)189 version (STDARG) 185 190 { 186 191 Arg[64] arglist = void; 187 192 int[64] intargs = void; … … 195 200 196 201 foreach (i, arg; arguments) 197 202 { 198 arglist[i] = args .ptr;203 arglist[i] = args; 199 204 /* Since floating point types don't live on 200 205 * the stack, they must be accessed by the 201 206 * correct type. */










