Mercurial > projects > ldc
diff gen/structs.cpp @ 1151:3cf0066e6faf
- Versioned Expresssion::toElem with #if IN_DMD/IN_LLVM.
- Eliminated the DLRValue DValue.
- Implemented proactive handling of l-value CastExpS.
- Minor tweak in runtime memory.d .
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Sat, 28 Mar 2009 05:00:43 +0100 |
parents | 5ebe8224988b |
children | ba9d6292572a |
line wrap: on
line diff
--- a/gen/structs.cpp Fri Mar 27 23:24:47 2009 +0100 +++ b/gen/structs.cpp Sat Mar 28 05:00:43 2009 +0100 @@ -487,6 +487,12 @@ return val; } +////////////////////////////////////////////////////////////////////////////////////////// + +static void DtoDeclareStruct(StructDeclaration* sd); +static void DtoConstInitStruct(StructDeclaration* sd); +static void DtoDefineStruct(StructDeclaration* sd); + void DtoResolveStruct(StructDeclaration* sd) { // don't do anything if already been here @@ -584,7 +590,7 @@ ////////////////////////////////////////////////////////////////////////////////////////// -void DtoDeclareStruct(StructDeclaration* sd) +static void DtoDeclareStruct(StructDeclaration* sd) { DtoResolveStruct(sd); @@ -603,7 +609,7 @@ ////////////////////////////////////////////////////////////////////////////////////////// -void DtoConstInitStruct(StructDeclaration* sd) +static void DtoConstInitStruct(StructDeclaration* sd) { DtoDeclareStruct(sd); @@ -654,7 +660,7 @@ ////////////////////////////////////////////////////////////////////////////////////////// -void DtoDefineStruct(StructDeclaration* sd) +static void DtoDefineStruct(StructDeclaration* sd) { DtoConstInitStruct(sd);