- 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 .
This commit is contained in:
Tomas Lindquist Olsen
2009-03-28 05:00:43 +01:00
parent 06a29342d3
commit 36f6ebc77f
12 changed files with 594 additions and 482 deletions

View File

@@ -487,6 +487,12 @@ LLValue* DtoIndexStruct(LLValue* src, StructDeclaration* sd, VarDeclaration* vd)
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 DtoResolveStruct(StructDeclaration* sd)
//////////////////////////////////////////////////////////////////////////////////////////
void DtoDeclareStruct(StructDeclaration* sd)
static void DtoDeclareStruct(StructDeclaration* sd)
{
DtoResolveStruct(sd);
@@ -603,7 +609,7 @@ void DtoDeclareStruct(StructDeclaration* sd)
//////////////////////////////////////////////////////////////////////////////////////////
void DtoConstInitStruct(StructDeclaration* sd)
static void DtoConstInitStruct(StructDeclaration* sd)
{
DtoDeclareStruct(sd);
@@ -654,7 +660,7 @@ void DtoConstInitStruct(StructDeclaration* sd)
//////////////////////////////////////////////////////////////////////////////////////////
void DtoDefineStruct(StructDeclaration* sd)
static void DtoDefineStruct(StructDeclaration* sd)
{
DtoConstInitStruct(sd);