Mercurial > projects > ldc
diff dmd/expression.c @ 57:a9d29e9f1fed trunk
[svn r61] Added support for D-style variadic functions :)
author | lindquist |
---|---|
date | Thu, 25 Oct 2007 02:39:53 +0200 |
parents | 0b9b286b67b6 |
children | d8dd47ef3973 |
line wrap: on
line diff
--- a/dmd/expression.c Wed Oct 24 22:26:37 2007 +0200 +++ b/dmd/expression.c Thu Oct 25 02:39:53 2007 +0200 @@ -580,6 +580,7 @@ break; } +#if !IN_LLVM // If D linkage and variadic, add _arguments[] as first argument if (tf->linkage == LINKd && tf->varargs == 1) { @@ -589,6 +590,7 @@ arguments->dim - nparams); arguments->insert(0, e); } +#endif } /**************************************************