Remove unused member VarDeclaration::anonDecl.

This commit is contained in:
kai
2012-03-28 06:57:17 +02:00
parent e739102374
commit e5f2430855
6 changed files with 0 additions and 22 deletions

View File

@@ -860,11 +860,6 @@ void AnonDeclaration::semantic(Scope *sc)
VarDeclaration *v = (VarDeclaration *)aad.fields.data[i];
v->offset += sc->offset;
#if IN_LLVM
if (!v->anonDecl)
v->anonDecl = this;
#endif
ad->fields.push(v);
}

View File

@@ -733,9 +733,6 @@ VarDeclaration::VarDeclaration(Loc loc, Type *type, Identifier *id, Initializer
#if IN_LLVM
aggrIndex = 0;
// LDC
anonDecl = NULL;
nakedUse = false;
availableExternally = true; // assume this unless proven otherwise

View File

@@ -350,9 +350,6 @@ struct VarDeclaration : Declaration
/// Override added to set above flag.
void semantic3(Scope *sc);
// FIXME: we're not using these anymore!
AnonDeclaration* anonDecl;
/// This var is used by a naked function.
bool nakedUse;

View File

@@ -882,11 +882,6 @@ void AnonDeclaration::semantic(Scope *sc)
VarDeclaration *v = aad.fields.tdata()[i];
v->offset += sc->offset;
#if IN_LLVM
if (!v->anonDecl)
v->anonDecl = this;
#endif
ad->fields.push(v);
}

View File

@@ -710,9 +710,6 @@ VarDeclaration::VarDeclaration(Loc loc, Type *type, Identifier *id, Initializer
#if IN_LLVM
aggrIndex = 0;
// LDC
anonDecl = NULL;
nakedUse = false;
availableExternally = true; // assume this unless proven otherwise

View File

@@ -351,9 +351,6 @@ struct VarDeclaration : Declaration
/// Override added to set above flag.
void semantic3(Scope *sc);
// FIXME: we're not using these anymore!
AnonDeclaration* anonDecl;
/// This var is used by a naked function.
bool nakedUse;