Mercurial > projects > ldc
comparison import/llvmdc/cstdarg.di @ 445:cc40db549aea
Changed the handling of variadic intrinsics a bit.
Removed the -fp80 option and made real be 80bit floats on X86, this is what the D spec really says it should be and fixes a bunch of issues.
Changed the handling of parameter attributes to a bit more generalized approach.
Added sext/zext attributes for byte/short/ubyte/ushort parameters, fixes #60 .
Parameter attribs now properly set for intrinsic calls if necessary.
Made the tango.math.Math patch less intrusive.
Fixed/added some mini tests.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Fri, 01 Aug 2008 17:59:58 +0200 |
parents | 44f08170f4ef |
children |
comparison
equal
deleted
inserted
replaced
444:f2b5f86348ef | 445:cc40db549aea |
---|---|
20 void va_start(T)(va_list ap, ref T); | 20 void va_start(T)(va_list ap, ref T); |
21 | 21 |
22 pragma(va_arg) | 22 pragma(va_arg) |
23 T va_arg(T)(va_list ap); | 23 T va_arg(T)(va_list ap); |
24 | 24 |
25 pragma(va_intrinsic, "llvm.va_end") | 25 pragma(va_end) |
26 void va_end(va_list args); | 26 void va_end(va_list args); |
27 | 27 |
28 pragma(va_intrinsic, "llvm.va_copy") | 28 pragma(va_copy) |
29 void va_copy(va_list dst, va_list src); | 29 void va_copy(va_list dst, va_list src); |