Mercurial > projects > ldc
diff dmd/func.c @ 1146:1860414bf3b7
* Moved ir/irsymbol.cpp/h into ir/irdsymbol.cpp/h.
* Added #if IN_DMD versioning around DMD backend specific code in the D1 frontend, D2 is currently broken.
* All part of a greater cleanup scheme.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Thu, 26 Mar 2009 20:45:53 +0100 |
parents | b28a57f4b530 |
children | 08c1c3bfea5a |
line wrap: on
line diff
--- a/dmd/func.c Thu Mar 26 18:46:21 2009 +0100 +++ b/dmd/func.c Thu Mar 26 20:45:53 2009 +0100 @@ -76,11 +76,15 @@ hasReturnExp = 0; nrvo_can = 1; nrvo_var = NULL; +#if IN_DMD shidden = NULL; - +#endif + +#if IN_LLVM // LDC isArrayOp = false; allowInlining = false; +#endif } Dsymbol *FuncDeclaration::syntaxCopy(Dsymbol *s)